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
public event CanExecuteToolEventHandler CanExecute
public:
event CanExecuteToolEventHandler^ CanExecute {
void add (CanExecuteToolEventHandler^ value);
void remove (CanExecuteToolEventHandler^ value);
}
member CanExecute : IEvent<CanExecuteToolEventHandler,
CanExecuteToolEventArgs>
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