CommandBinding Constructores

Definición

Inicializa una nueva instancia de la clase CommandBinding.

Sobrecargas

Nombre Description
CommandBinding()

Inicializa una nueva instancia de la clase CommandBinding.

CommandBinding(ICommand)

Inicializa una nueva instancia de la CommandBinding clase mediante el especificado ICommand.

CommandBinding(ICommand, ExecutedRoutedEventHandler)

Inicializa una nueva instancia de la CommandBinding clase mediante el especificado ICommand y el controlador de eventos especificado Executed .

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Inicializa una nueva instancia de la CommandBinding clase utilizando los controladores de eventos y especificados ICommand y Executed especificadosCanExecute.

CommandBinding()

Inicializa una nueva instancia de la clase CommandBinding.

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

Consulte también

Se aplica a

CommandBinding(ICommand)

Inicializa una nueva instancia de la CommandBinding clase mediante el 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

Comando en el que se va a basar el nuevo RoutedCommand elemento.

Se aplica a

CommandBinding(ICommand, ExecutedRoutedEventHandler)

Inicializa una nueva instancia de la CommandBinding clase mediante el especificado ICommand y el controlador de eventos 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

Comando en el que se va a basar el nuevo RoutedCommand elemento.

executed
ExecutedRoutedEventHandler

Controlador del Executed evento en el nuevo RoutedCommand.

Se aplica a

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Inicializa una nueva instancia de la CommandBinding clase utilizando los controladores de eventos y especificados ICommand y Executed especificadosCanExecute.

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

Comando en el que se va a basar el nuevo RoutedCommand elemento.

executed
ExecutedRoutedEventHandler

Controlador del Executed evento en el nuevo RoutedCommand.

canExecute
CanExecuteRoutedEventHandler

Controlador del CanExecute evento en el nuevo RoutedCommand.

Se aplica a