ModularVisibilityAction
ObjectAction<1>ObjectActionAction[IoId("00000000-9e21-4a3b-b6c8-3f51d2e7a405")]
[UiName("Modular Visibility")]
public sealed class ModularVisibilityAction : ObjectAction<ModularComponent>
Undo action for hiding or showing an optional parameter on a ModularComponent. It records both the visibility flag and the cached wire string stored in the parameter's CustomValues so that both pieces of state are reverted together.
Constructors
Properties
inherited fromObjectAction
State
Gets the state this action is in.
public State State { get; }
Methods
Extends
Override this method to indicate this action extends another action, and can thus be dropped from a sequence of actions.
PerformRedo
Redo this action. This is only allowed if the Action.State equals State.Redo.
PerformRedoInternal
Overrides: ObjectAction.PerformRedoInternal
PerformRedoInternal
Overrides: Action.PerformRedoInternal
PerformUndo
Undo this action. This is only allowed if the Action.State equals State.Undo.
PerformUndoInternal
Overrides: ObjectAction.PerformUndoInternal
PerformUndoInternal
Overrides: Action.PerformUndoInternal
PrepareRedo
Run the preperatory work for a redo operation. The Action.PerformRedo(Document) method ought never be called without a preceding call to Action.PrepareRedo(Document), although note that a call to Action.PrepareRedo(Document) is not necessarily followed by a call to Action.PerformRedo(Document).
PrepareRedoInternal
Overrides: ObjectAction.PrepareRedoInternal
PrepareRedoInternal
Overrides: Action.PrepareRedoInternal
PrepareRedoInternalT
PrepareUndo
Run the preperatory work for an undo operation. The Action.PerformUndo(Document) method ought never be called without a preceding call to Action.PrepareUndo(Document), although note that a call to Action.PrepareUndo(Document) is not necessarily followed by a call to Action.PerformUndo(Document).
PrepareUndoInternal
Overrides: ObjectAction.PrepareUndoInternal
PrepareUndoInternal
Overrides: Action.PrepareUndoInternal