ChannelConfig.xaml.cs 643 B

1234567891011121314151617181920
  1. namespace HistoryView.Controls;
  2. public partial class ChannelConfig : UserControl
  3. {
  4. public ChannelConfig()
  5. {
  6. InitializeComponent();
  7. }
  8. public TempConfigSubChannel Source
  9. {
  10. get { return (TempConfigSubChannel)GetValue(SourceProperty); }
  11. set { SetValue(SourceProperty, value); }
  12. }
  13. // Using a DependencyProperty as the backing store for Source. This enables animation, styling, binding, etc...
  14. public static readonly DependencyProperty SourceProperty =
  15. DependencyProperty.Register("Source", typeof(TempConfigSubChannel), typeof(ChannelConfig), new PropertyMetadata(default));
  16. }