Language

CommandBinding コンストラクター

定義

CommandBinding クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
CommandBinding()

CommandBinding クラスの新しいインスタンスを初期化します。

CommandBinding(ICommand)

指定したCommandBindingを使用して、ICommand クラスの新しいインスタンスを初期化します。

CommandBinding(ICommand, ExecutedRoutedEventHandler)

指定したCommandBindingと指定したICommand イベント ハンドラーを使用して、Executed クラスの新しいインスタンスを初期化します。

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

指定したCommandBindingと指定したICommandおよびExecutedイベント ハンドラーを使用して、CanExecute クラスの新しいインスタンスを初期化します。

CommandBinding()

CommandBinding クラスの新しいインスタンスを初期化します。

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

こちらもご覧ください

適用対象

CommandBinding(ICommand)

指定したCommandBindingを使用して、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)

パラメーター

command
ICommand

新しい RoutedCommand の基にするコマンド。

適用対象

CommandBinding(ICommand, ExecutedRoutedEventHandler)

指定したCommandBindingと指定したICommand イベント ハンドラーを使用して、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)

パラメーター

command
ICommand

新しい RoutedCommand の基にするコマンド。

executed
ExecutedRoutedEventHandler

新しいExecutedのRoutedCommand イベントのハンドラー。

適用対象

CommandBinding(ICommand, ExecutedRoutedEventHandler, CanExecuteRoutedEventHandler)

指定したCommandBindingと指定したICommandおよびExecutedイベント ハンドラーを使用して、CanExecute クラスの新しいインスタンスを初期化します。

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)

パラメーター

command
ICommand

新しい RoutedCommand の基にするコマンド。

executed
ExecutedRoutedEventHandler

新しいExecutedのRoutedCommand イベントのハンドラー。

canExecute
CanExecuteRoutedEventHandler

新しいCanExecuteのRoutedCommand イベントのハンドラー。

適用対象