表示將會處理工具命令之 CanExecute 事件的方法。
命名空間: Microsoft.Windows.Design.Interaction
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public Delegate Sub CanExecuteToolEventHandler ( _
sender As Object, _
e As CanExecuteToolEventArgs _
)
public delegate void CanExecuteToolEventHandler(
Object sender,
CanExecuteToolEventArgs e
)
public delegate void CanExecuteToolEventHandler(
Object^ sender,
CanExecuteToolEventArgs^ e
)
type CanExecuteToolEventHandler =
delegate of
sender:Object *
e:CanExecuteToolEventArgs -> unit
JScript 不支援委派。
參數
- sender
型別:System.Object
事件來源。 事件來源。
請參閱
參考
Microsoft.Windows.Design.Interaction 命名空間