ToolCommandBinding.CanExecute Event
Occurs when QueryEnabled for the command is called.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Event CanExecute As CanExecuteToolEventHandler
'Usage
Dim instance As ToolCommandBinding
Dim handler As CanExecuteToolEventHandler
AddHandler instance.CanExecute, handler
public event CanExecuteToolEventHandler CanExecute
public:
event CanExecuteToolEventHandler^ CanExecute {
void add (CanExecuteToolEventHandler^ value);
void remove (CanExecuteToolEventHandler^ value);
}
JScript does not support events.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace