In This Article

PauseResumeMacroRecordingAction Class

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

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

Constructors

PauseResumeMacroRecordingAction()

Initializes an instance of the PauseResumeMacroRecordingAction class.

public PauseResumeMacroRecordingAction()

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

CanExecute(IEditorView)

Returns whether the edit action can execute in the specified IEditorView.

public override bool CanExecute(IEditorView view)
Parameter Type Description
view IEditorView

The IEditorView to examine.

Returns

bool:

true if the edit action can execute in the specified IEditorView; otherwise, false.

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