'Declaration Public Overloads Function CanExecute( _ ByVal parameter As Object, _ ByVal spread As GcSpreadSheet _ ) As Boolean
'Usage Dim instance As SpreadCommand Dim parameter As Object Dim spread As GcSpreadSheet Dim value As Boolean value = instance.CanExecute(parameter, spread)
public bool CanExecute( object parameter, GcSpreadSheet spread )
Parameters
- parameter
- User defined parameter to be passed to the handler.
- spread
- GrapeCity.Wpf.SpreadSheet.GcSpreadSheet at which to begin looking for command handlers.
Return Value
true
if the command can execute on the current command target; otherwise, false
.