CommandBinding Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy CommandBinding.

Przeciążenia

CommandBinding()

Inicjuje nowe wystąpienie klasy CommandBinding.

CommandBinding(ICommand)

Inicjuje CommandBinding nowe wystąpienie klasy przy użyciu określonego ICommandelementu .

CommandBinding(ICommand, ExecutedRoutedEventHandler)

Inicjuje CommandBinding nowe wystąpienie klasy przy użyciu określonego ICommand i określonego Executed programu obsługi zdarzeń.

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Inicjuje CommandBinding nowe wystąpienie klasy przy użyciu określonych ICommand programów obsługi zdarzeń i CanExecute określonychExecuted.

CommandBinding()

Inicjuje nowe wystąpienie klasy CommandBinding.

public:
 CommandBinding();
public CommandBinding ();
Public Sub New ()

Zobacz też

Dotyczy

CommandBinding(ICommand)

Inicjuje CommandBinding nowe wystąpienie klasy przy użyciu określonego ICommandelementu .

public:
 CommandBinding(System::Windows::Input::ICommand ^ command);
public CommandBinding (System.Windows.Input.ICommand command);
new System.Windows.Input.CommandBinding : System.Windows.Input.ICommand -> System.Windows.Input.CommandBinding
Public Sub New (command As ICommand)

Parametry

command
ICommand

Polecenie , aby oprzeć nowe RoutedCommand polecenie.

Dotyczy

CommandBinding(ICommand, ExecutedRoutedEventHandler)

Inicjuje CommandBinding nowe wystąpienie klasy przy użyciu określonego ICommand i określonego Executed programu obsługi zdarzeń.

public:
 CommandBinding(System::Windows::Input::ICommand ^ command, System::Windows::Input::ExecutedRoutedEventHandler ^ executed);
public CommandBinding (System.Windows.Input.ICommand command, System.Windows.Input.ExecutedRoutedEventHandler executed);
new System.Windows.Input.CommandBinding : System.Windows.Input.ICommand * System.Windows.Input.ExecutedRoutedEventHandler -> System.Windows.Input.CommandBinding
Public Sub New (command As ICommand, executed As ExecutedRoutedEventHandler)

Parametry

command
ICommand

Polecenie , aby oprzeć nowe RoutedCommand polecenie.

executed
ExecutedRoutedEventHandler

Procedura obsługi zdarzenia Executed w nowym RoutedCommandobiekcie .

Dotyczy

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Inicjuje CommandBinding nowe wystąpienie klasy przy użyciu określonych ICommand programów obsługi zdarzeń i CanExecute określonychExecuted.

public:
 CommandBinding(System::Windows::Input::ICommand ^ command, System::Windows::Input::ExecutedRoutedEventHandler ^ executed, System::Windows::Input::CanExecuteRoutedEventHandler ^ canExecute);
public CommandBinding (System.Windows.Input.ICommand command, System.Windows.Input.ExecutedRoutedEventHandler executed, System.Windows.Input.CanExecuteRoutedEventHandler canExecute);
new System.Windows.Input.CommandBinding : System.Windows.Input.ICommand * System.Windows.Input.ExecutedRoutedEventHandler * System.Windows.Input.CanExecuteRoutedEventHandler -> System.Windows.Input.CommandBinding
Public Sub New (command As ICommand, executed As ExecutedRoutedEventHandler, canExecute As CanExecuteRoutedEventHandler)

Parametry

command
ICommand

Polecenie , aby oprzeć nowe RoutedCommand polecenie.

executed
ExecutedRoutedEventHandler

Procedura obsługi zdarzenia Executed w nowym RoutedCommandobiekcie .

canExecute
CanExecuteRoutedEventHandler

Procedura obsługi zdarzenia CanExecute w nowym RoutedCommandobiekcie .

Dotyczy