Defines the method that determines whether the action can execute in its current state.
'Declaration
Public Overrides Function CanExecute( _
ByVal As System.Object _
) As System.Boolean
'Usage
Dim instance As ColumnGroupHeaderExpandUndoAction
Dim parameter As System.Object
Dim value As System.Boolean
value = instance.CanExecute(parameter)
public override System.bool CanExecute(
System.object
)
Parameters
- parameter
- Data used by the action. If the action does not require data to be passed in, this object can be set to null.
Return Value
true
if this action can be executed; otherwise, false
.