Class EditorCommands
Every action of an EditorSession as a command. Bind them to keys through Bindings, or invoke them from buttons, gamepads or touch gestures.
public sealed class EditorCommands
- Inheritance
-
EditorCommands
- Inherited Members
- Extension Methods
Remarks
- In Interact, only ToggleMode can execute.
- Without a selection, only ToggleMode, Undo and Redo can execute.
- While IsBlocked, Delete and the nudges are refused; selection commands, Undo and Redo keep working, since undo is the way back out of broken markup.
Properties
Delete
Gets the command that removes the selected element (never the root).
public ICommand Delete { get; }
Property Value
Deselect
Gets the command that clears the selection.
public ICommand Deselect { get; }
Property Value
NudgeDown
Gets the command that moves the selected element one unit down.
public ICommand NudgeDown { get; }
Property Value
NudgeDownLarge
Gets the command that moves the selected element down by LargeNudge.
public ICommand NudgeDownLarge { get; }
Property Value
NudgeLeft
Gets the command that moves the selected element one unit left.
public ICommand NudgeLeft { get; }
Property Value
NudgeLeftLarge
Gets the command that moves the selected element left by LargeNudge.
public ICommand NudgeLeftLarge { get; }
Property Value
NudgeRight
Gets the command that moves the selected element one unit right.
public ICommand NudgeRight { get; }
Property Value
NudgeRightLarge
Gets the command that moves the selected element right by LargeNudge.
public ICommand NudgeRightLarge { get; }
Property Value
NudgeUp
Gets the command that moves the selected element one unit up.
public ICommand NudgeUp { get; }
Property Value
NudgeUpLarge
Gets the command that moves the selected element up by LargeNudge.
public ICommand NudgeUpLarge { get; }
Property Value
Redo
Gets the command that redoes the selected document's last undone step, or the last edited document's when nothing is selected.
public ICommand Redo { get; }
Property Value
SelectFirstChild
Gets the command that selects the first editable content child in markup.
public ICommand SelectFirstChild { get; }
Property Value
SelectNext
Gets the command that selects the next editable sibling in markup.
public ICommand SelectNext { get; }
Property Value
SelectParent
Gets the command that selects the nearest editable ancestor in markup.
public ICommand SelectParent { get; }
Property Value
SelectPrevious
Gets the command that selects the previous editable sibling in markup.
public ICommand SelectPrevious { get; }
Property Value
ToggleMode
public ICommand ToggleMode { get; }
Property Value
Undo
Gets the command that undoes the selected document's last step, or the last edited document's when nothing is selected.
public ICommand Undo { get; }