using System.Windows;
using System.Windows.Controls;
namespace ParameterModule.Controls;
///
/// Interaction logic for AlarmConditionTable.xaml
///
public partial class AlarmConditionTable : UserControl
{
public AlarmConditionTable()
{
InitializeComponent();
}
public IEnumerable Source
{
get { return (IEnumerable)GetValue(SourceProperty); }
set { SetValue(SourceProperty, value); }
}
// Using a DependencyProperty as the backing store for Source. This enables animation, styling, binding, etc...
public static readonly DependencyProperty SourceProperty =
DependencyProperty.Register(nameof(Source), typeof(IEnumerable), typeof(AlarmConditionTable), new PropertyMetadata(default));
public string Title
{
get { return (string)GetValue(TitleProperty); }
set { SetValue(TitleProperty, value); }
}
// Using a DependencyProperty as the backing store for Title. This enables animation, styling, binding, etc...
public static readonly DependencyProperty TitleProperty =
DependencyProperty.Register(nameof(Title), typeof(string), typeof(AlarmConditionTable), new PropertyMetadata(default));
}