Spread Silverlight Documentation
CanExecute Method (ActionBase)


GrapeCity.Windows.SpreadSheet.UI.UndoRedo Namespace > ActionBase Class : CanExecute Method
Data used by the action. If the action does not require data to be passed, this object can be set to null.
Defines the method that determines whether the action can execute in its current state.
Syntax
'Declaration
 
Public MustOverride Function CanExecute( _
   ByVal parameter As System.Object _
) As System.Boolean
'Usage
 
Dim instance As ActionBase
Dim parameter As System.Object
Dim value As System.Boolean
 
value = instance.CanExecute(parameter)
public abstract System.bool CanExecute( 
   System.object parameter
)

Parameters

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

Return Value

true if this action can be executed; otherwise, false.
See Also

Reference

ActionBase Class
ActionBase Members