ToolCommand.CanExecuteChanged Event
Occurs when the status of this command changes.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Event CanExecuteChanged As EventHandler
public event EventHandler CanExecuteChanged
public:
virtual event EventHandler^ CanExecuteChanged {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
abstract CanExecuteChanged : IEvent<EventHandler,
EventArgs>
override CanExecuteChanged : IEvent<EventHandler,
EventArgs>
JScript does not support events.
Implements
Exceptions
Exception | Condition |
---|---|
NotSupportedException | When used. |
Remarks
The ToolCommand class currently does not implement this event and will throw a NotSupportedException when it is used.
.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