ComponentOne Studio for WinRT XAML
CommandBinding コンストラクタ(ICommand,ExecutedRoutedEventHandler,CanExecuteRoutedEventHandler)

コマンド。
新しいコマンドの Executed イベントのハンドラ。
新しいコマンドの CanExecute イベントのハンドラ。
指定された System.Windows.Input.ICommandExecuted および CanExecute イベントハンドラを使用して、CommandBinding クラスの新しいインスタンスを初期化します。
構文
'宣言
 
Public Function New( _
   ByVal command As System.Windows.Input.ICommand, _
   ByVal executed As ExecutedRoutedEventHandler, _
   ByVal canExecute As CanExecuteRoutedEventHandler _
)
public CommandBinding( 
   System.Windows.Input.ICommand command,
   ExecutedRoutedEventHandler executed,
   CanExecuteRoutedEventHandler canExecute
)

パラメータ

command
コマンド。
executed
新しいコマンドの Executed イベントのハンドラ。
canExecute
新しいコマンドの CanExecute イベントのハンドラ。
参照

CommandBinding クラス
CommandBinding メンバ
オーバーロード一覧

 

 


Copyright © GrapeCity inc. All rights reserved.