[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.UI.Commands.SpreadCommand.CanExecuteCore

CanExecuteCore Method

CanExecuteCore(object, GcSpreadSheet)

Determines whether this SpreadCommand can execute in GcSpreadSheet's current state.

Declaration
protected virtual bool CanExecuteCore(object parameter, GcSpreadSheet spread)
Protected Overridable Function CanExecuteCore(parameter As Object, spread As GcSpreadSheet) As Boolean
Parameters
Type Name Description
object parameter

User defined parameter to be passed to the handler.

GcSpreadSheet spread

GcSpreadSheet at which to begin looking for command handlers.

Returns
Type Description
bool

true if the command can execute on the current command target; otherwise, false.