Defines the method that determines whether the action can be executed in its current state.
'Declaration
Public Overrides Function CanExecute( _
ByVal As System.Object _
) As System.Boolean
'Usage
Dim instance As ZoomUndoAction
Dim parameter As System.Object
Dim value As System.Boolean
value = instance.CanExecute(parameter)
public override System.bool CanExecute(
System.object
)
Parameters
- parameter
- Object on which the undo action occurred.
Return Value
true
if this action can be executed; otherwise, false
.