[]
        
(Showing Draft Content)

GrapeCity.Viewer.Common.ICommand.CanExecute

CanExecute Method

CanExecute(object)

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

Declaration
bool CanExecute(object parameter)
Parameters
Type Name Description
object parameter

Data used by the command. If the command does not require data to be passed, this object can be set to null.

Returns
Type Description
bool

True if the command can execute; otherwise, false.