In This Article

ToggleMacroRecordingAction Class

Represents an IEditAction that starts or stops recording a macro, depending on the current state of macro recording.

public class ToggleMacroRecordingAction : EditActionBase, IEditAction, IKeyedObject
Inheritance:
object RoutedCommand RoutedUICommand EditActionBase object
Implements:
IEditAction IKeyedObject

Constructors

ToggleMacroRecordingAction()

Initializes an instance of the ToggleMacroRecordingAction class.

public ToggleMacroRecordingAction()

Properties

CanRecordInMacro

Gets whether the action can be recorded in a macro.

public override bool CanRecordInMacro { get; }

Property Value

bool:

true if the action can be recorded in a macro; otherwise, false.

Methods

Execute(IEditorView)

Executes the edit action in the specified IEditorView.

public override void Execute(IEditorView view)
Parameter Type Description
view IEditorView

The IEditorView in which to execute the edit action.

Inherited Members