using System.Windows.Input; namespace SummaryModule.Controls.Status; /// /// Interaction logic for BaseTransfer.xaml /// public partial class BaseTransfer : UserControl { public BaseTransfer() { InitializeComponent(); } public ICommand BufferCommand { get { return (ICommand)GetValue(BufferCommandProperty); } set { SetValue(BufferCommandProperty, value); } } public static readonly DependencyProperty BufferCommandProperty = DependencyProperty.Register(nameof(BufferCommand), typeof(ICommand), typeof(BaseTransfer), new PropertyMetadata(default)); public ICommand LoadPortCommand { get { return (ICommand)GetValue(LoadPortCommandProperty); } set { SetValue(LoadPortCommandProperty, value); } } // Using a DependencyProperty as the backing store for LoadPortCommand. This enables animation, styling, binding, etc... public static readonly DependencyProperty LoadPortCommandProperty = DependencyProperty.Register(nameof(LoadPortCommand), typeof(ICommand), typeof(BaseTransfer), new PropertyMetadata(default)); public ICommand FimsCommand { get { return (ICommand)GetValue(FimsCommandProperty); } set { SetValue(FimsCommandProperty, value); } } // Using a DependencyProperty as the backing store for FimsCommand. This enables animation, styling, binding, etc... public static readonly DependencyProperty FimsCommandProperty = DependencyProperty.Register(nameof(FimsCommand), typeof(ICommand), typeof(BaseTransfer), new PropertyMetadata(default)); }