Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DelegateCommand<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)
function canExecute(parameter);

Parameters

parameter
Type: T
Data used by the command. If the command does not require data to be passed, this object can be set to nulla 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).
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.