Share via


CompositeCommand.OnCanExecuteChanged Method

Raises CanExecuteChanged on the UI thread so every command invoker can requery CanExecute(Object) to check if the CompositeCommand can execute.

Namespace:  Microsoft.Practices.Composite.Presentation.Commands
Assembly:  Microsoft.Practices.Composite.Presentation (in Microsoft.Practices.Composite.Presentation.dll)

Syntax

'Declaration
Protected Overridable Sub OnCanExecuteChanged
protected virtual void OnCanExecuteChanged()
protected:
virtual void OnCanExecuteChanged()
function onCanExecuteChanged();

See Also

CompositeCommand Class

Microsoft.Practices.Composite.Presentation.Commands Namespace