CommandBinding Constructors

Definitie

Initialiseert een nieuw exemplaar van de CommandBinding klasse.

Overloads

Name Description
CommandBinding()

Initialiseert een nieuw exemplaar van de CommandBinding klasse.

CommandBinding(ICommand)

Initialiseert een nieuw exemplaar van de CommandBinding klasse met behulp van de opgegeven ICommand.

CommandBinding(ICommand, ExecutedRoutedEventHandler)

Initialiseert een nieuw exemplaar van de CommandBinding klasse met behulp van de opgegeven ICommand en de opgegeven Executed gebeurtenis-handler.

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Initialiseert een nieuw exemplaar van de CommandBinding klasse met behulp van de opgegeven en de opgegeven ExecutedICommand en CanExecute gebeurtenis-handlers.

CommandBinding()

Initialiseert een nieuw exemplaar van de CommandBinding klasse.

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

Zie ook

Van toepassing op

CommandBinding(ICommand)

Initialiseert een nieuw exemplaar van de CommandBinding klasse met behulp van de opgegeven ICommand.

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)

Parameters

command
ICommand

De opdracht waarop de nieuwe RoutedCommand moet worden gebaseerd.

Van toepassing op

CommandBinding(ICommand, ExecutedRoutedEventHandler)

Initialiseert een nieuw exemplaar van de CommandBinding klasse met behulp van de opgegeven ICommand en de opgegeven Executed gebeurtenis-handler.

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)

Parameters

command
ICommand

De opdracht waarop de nieuwe RoutedCommand moet worden gebaseerd.

executed
ExecutedRoutedEventHandler

De handler voor de Executed gebeurtenis op de nieuwe RoutedCommand.

Van toepassing op

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Initialiseert een nieuw exemplaar van de CommandBinding klasse met behulp van de opgegeven en de opgegeven ExecutedICommand en CanExecute gebeurtenis-handlers.

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)

Parameters

command
ICommand

De opdracht waarop de nieuwe RoutedCommand moet worden gebaseerd.

executed
ExecutedRoutedEventHandler

De handler voor de Executed gebeurtenis op de nieuwe RoutedCommand.

canExecute
CanExecuteRoutedEventHandler

De handler voor de CanExecute gebeurtenis op de nieuwe RoutedCommand.

Van toepassing op