namespace SummaryModule.Controls;
///
/// Interaction logic for BaseGas.xaml
///
public partial class BaseGas : UserControl
{
public BaseGas()
{
InitializeComponent();
}
public IDictionary DataSource
{
get { return (IDictionary)GetValue(DataSourceProperty); }
set { SetValue(DataSourceProperty, value); }
}
// Using a DependencyProperty as the backing store for DataSource. This enables animation, styling, binding, etc...
public static readonly DependencyProperty DataSourceProperty =
DependencyProperty.Register(nameof(DataSource), typeof(IDictionary), typeof(BaseGas), new PropertyMetadata(default));
}