CommandBinding Konstruktory

Definice

Inicializuje novou instanci CommandBinding třídy.

Přetížení

Name Description
CommandBinding()

Inicializuje novou instanci CommandBinding třídy.

CommandBinding(ICommand)

Inicializuje novou instanci CommandBinding třídy pomocí zadané ICommand.

CommandBinding(ICommand, ExecutedRoutedEventHandler)

Inicializuje novou instanci CommandBinding třídy pomocí zadané ICommand a zadané Executed obslužné rutiny události.

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Inicializuje novou instanci CommandBinding třídy pomocí zadané ICommand a zadané Executed a CanExecute obslužné rutiny událostí.

CommandBinding()

Inicializuje novou instanci CommandBinding třídy.

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

Viz také

Platí pro

CommandBinding(ICommand)

Inicializuje novou instanci CommandBinding třídy pomocí zadané 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)

Parametry

command
ICommand

Příkaz, na který se má nový založit RoutedCommand .

Platí pro

CommandBinding(ICommand, ExecutedRoutedEventHandler)

Inicializuje novou instanci CommandBinding třídy pomocí zadané ICommand a zadané Executed obslužné rutiny události.

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

Příkaz, na který se má nový založit RoutedCommand .

executed
ExecutedRoutedEventHandler

Obslužná rutina události Executed v nové RoutedCommand.

Platí pro

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

Inicializuje novou instanci CommandBinding třídy pomocí zadané ICommand a zadané Executed a CanExecute obslužné rutiny událostí.

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

Příkaz, na který se má nový založit RoutedCommand .

executed
ExecutedRoutedEventHandler

Obslužná rutina události Executed v nové RoutedCommand.

canExecute
CanExecuteRoutedEventHandler

Obslužná rutina události CanExecute v nové RoutedCommand.

Platí pro