Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CanExecute Method

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:
© 2015 Microsoft