Idioma

CommandBinding Construtores

Definição

Inicializa uma nova instância da CommandBinding classe.

Sobrecargas

Nome Descrição
CommandBinding()

Inicializa uma nova instância da CommandBinding classe.

CommandBinding(ICommand)

Inicializa uma nova instância da CommandBinding classe usando o especificado ICommand.

CommandBinding(ICommand, ExecutedRoutedEventHandler)

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

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Inicializa uma nova instância da CommandBinding classe usando os handlers especificados ICommand e especificados Executed e CanExecute de eventos.

CommandBinding()

Inicializa uma nova instância da CommandBinding classe.

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

Consulte também

Aplica-se a

CommandBinding(ICommand)

Inicializa uma nova instância da CommandBinding classe usando o especificado 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

A ordem para basear o novo RoutedCommand em.

Aplica-se a

CommandBinding(ICommand, ExecutedRoutedEventHandler)

Inicializa uma nova instância da CommandBinding classe usando o handler 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

A ordem para basear o novo RoutedCommand em.

executed
ExecutedRoutedEventHandler

O responsável pelo Executed evento no novo RoutedCommand.

Aplica-se a

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Inicializa uma nova instância da CommandBinding classe usando os handlers especificados ICommand e especificados Executed e CanExecute de eventos.

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

A ordem para basear o novo RoutedCommand em.

executed
ExecutedRoutedEventHandler

O responsável pelo Executed evento no novo RoutedCommand.

canExecute
CanExecuteRoutedEventHandler

O responsável pelo CanExecute evento no novo RoutedCommand.

Aplica-se a