Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Commands Namespace / ICommand Interface / CanExecute Method
User defined parameter to be passed to the handler.
Spread control at which to begin looking for command handlers.


In This Topic
CanExecute Method (ICommand)
In This Topic
Determines whether this ICommand can execute in its current state.
Syntax
'Declaration
 
Function CanExecute( _
   ByVal parameter As Object, _
   ByVal spread As FpSpread _
) As Boolean
 
'Usage
 
Dim instance As ICommand
Dim parameter As Object
Dim spread As FpSpread
Dim value As Boolean
 
value = instance.CanExecute(parameter, spread)

Parameters

parameter
User defined parameter to be passed to the handler.
spread
Spread control at which to begin looking for command handlers.
See Also