DelegateCommand(Of T).CanExecute Method

Defines the method that determines whether the command can execute in its current state.

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

Public Function CanExecute ( _
	parameter As T _
) As Boolean


Type: T
Data used by the command. If the command does not require data to be passed, this object can be set to Nothinga null reference (Nothing in Visual Basic).

Return Value

Truetrue (True in Visual Basic) if this command can be executed; otherwise, Falsefalse (False in Visual Basic).