Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
'Usage
Dim instance As ToolCommand
Dim handler As EventHandler
AddHandler instance.CanExecuteChanged, handler
public event EventHandler CanExecuteChanged
public:
virtual event EventHandler^ CanExecuteChanged {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
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