Idioma

CommandBinding Construtores

Definição

Inicializa uma nova instância da classe CommandBinding.

Sobrecargas

Nome Description
CommandBinding()

Inicializa uma nova instância da classe CommandBinding.

CommandBinding(ICommand)

Inicializa uma nova instância da CommandBinding classe usando a especificada ICommand.

CommandBinding(ICommand, ExecutedRoutedEventHandler)

Inicializa uma nova instância da CommandBinding classe usando o manipulador de eventos especificado ICommand e o especificado Executed .

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Inicializa uma nova instância da CommandBinding classe usando os manipuladores especificados ICommand e de eventos especificados ExecutedCanExecute .

CommandBinding()

Inicializa uma nova instância da classe CommandBinding.

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

Confira também

Aplica-se a

CommandBinding(ICommand)

Inicializa uma nova instância da CommandBinding classe usando a especificada 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)

Parâmetros

command
ICommand

O comando no qual basear o novo RoutedCommand .

Aplica-se a

CommandBinding(ICommand, ExecutedRoutedEventHandler)

Inicializa uma nova instância da CommandBinding classe usando o manipulador de eventos especificado ICommand e o especificado Executed .

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)

Parâmetros

command
ICommand

O comando no qual basear o novo RoutedCommand .

executed
ExecutedRoutedEventHandler

O manipulador do Executed evento no novo RoutedCommand.

Aplica-se a

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Inicializa uma nova instância da CommandBinding classe usando os manipuladores especificados ICommand e de eventos especificados ExecutedCanExecute .

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)

Parâmetros

command
ICommand

O comando no qual basear o novo RoutedCommand .

executed
ExecutedRoutedEventHandler

O manipulador do Executed evento no novo RoutedCommand.

canExecute
CanExecuteRoutedEventHandler

O manipulador do CanExecute evento no novo RoutedCommand.

Aplica-se a