Symphony Framework
CanExecute Method
Symphony.Conductor.Commands Namespace > RoutedCommandBase Class : CanExecute Method
The bound User Interface object
CanExecute returns true/false depending on if the command can be executed. The default is to return TRUE, override in the extending class to add logic
Syntax
public bool CanExecute( 
   object sender
)

Parameters

sender
The bound User Interface object
Remarks
The bound User Interface control executes the CanExecute method when the RoutedCommandBase.CanExecuteChanged event is raised. This method should be overriden by the extending class to allow logic to be applied to determine if the bound control can be executed.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RoutedCommandBase Class
RoutedCommandBase Members