Share via


CommandModel.CanExecuteChanged Event

Occurs when changes occur that affect whether or not the command should execute.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.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);
}
JScript does not support events.

Implements

ICommand.CanExecuteChanged

See Also

CommandModel Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace