| 1234567891011121314151617181920212223242526272829303132333435 |
- namespace SummaryModule.Controls;
- /// <summary>
- /// Interaction logic for BaseJob.xaml
- /// </summary>
- public partial class BaseJob : UserControl
- {
- public BaseJob()
- {
- InitializeComponent();
- }
- public JobDataVM DataSource
- {
- get { return (JobDataVM)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(JobDataVM), typeof(BaseJob), new PropertyMetadata(default));
- public JobDataVM DataSource2
- {
- get { return (JobDataVM)GetValue(DataSource2Property); }
- set { SetValue(DataSource2Property, value); }
- }
- // Using a DependencyProperty as the backing store for DataSource2. This enables animation, styling, binding, etc...
- public static readonly DependencyProperty DataSource2Property =
- DependencyProperty.Register(nameof(DataSource2), typeof(JobDataVM), typeof(BaseJob), new PropertyMetadata(default));
- }
|