| C1.Xaml アセンブリ > C1.Xaml 名前空間 > CommandBinding クラス : PreviewCanExecute イベント |
'宣言 Public Event PreviewCanExecute As CanExecuteRoutedEventHandler
public event CanExecuteRoutedEventHandler PreviewCanExecute
イベント ハンドラが、このイベントに関連するデータを含む、CanExecuteRoutedEventArgs 型の引数を受け取りました。次の CanExecuteRoutedEventArgs プロパティには、このイベントの固有の情報が記載されます。
| プロパティ | 解説 |
|---|---|
| CanExecute | このイベントに関連付けられている System.Windows.Input.ICommand をコマンドターゲットで実行できるかどうかを示す値を取得または設定します。 |
| Command | このイベントに関連付けられているコマンドを取得します。 |
| ContinueRouting | コマンドを呼び出した入力イベントを要素ツリー内で続けてルーティングするかどうかを決定します。 |
| EventName | この CanExecuteRoutedEventArgs インスタンスに関連付けられている入力イベント名を取得します。 C1.Xaml.C1RoutedEventArgsから継承されます。 |
| Handled | イベントがルートをたどる際のイベント処理の現在の状態を示す値を取得または設定します。 C1.Xaml.C1RoutedEventArgsから継承されます。 |
| OriginalSource | ピュアヒットテストで決定されるオリジナルレポートソースを取得します。 C1.Xaml.C1RoutedEventArgsから継承されます。 |
| Parameter | コマンド固有のデータを取得します。 |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2