| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- using System.Windows.Input;
- namespace SummaryModule.Controls.Status;
- /// <summary>
- /// Interaction logic for BaseTransfer.xaml
- /// </summary>
- 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));
- }
|