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
- EditActionBase.CanExecute(IEditorView)
- EditActionBase.GetKeyText(ModifierKeys, Key)
- EditActionBase.ReadFromXml(XmlReader)
- EditActionBase.WriteToXml(XmlWriter)
- EditActionBase.CreateCommandBinding()
- EditActionBase.CreateCommandBinding(ICommand)
- EditActionBase.Key
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()