DelegateCommandBase.CanExecute Method

Determines if the command can execute with the provided parameter by invoing the Func<T, TResult> supplied during construction.

Namespace:  Microsoft.Practices.Prism.Commands
Assembly:  Microsoft.Practices.Prism (in Microsoft.Practices.Prism.dll)

protected bool CanExecute(
	Object parameter
)

Parameters

parameter
Type: System.Object
The parameter to use when determining if this command can execute.

Return Value

Returns truetrue (True in Visual Basic) if the command can execute. falsefalse (False in Visual Basic) otherwise.
Show: