Enum Command
Actions which can be performed by the application or bound to keys in a View control.
Namespace: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public enum Command
Fields
| Name | Description |
|---|---|
| Accept | Accepts the current state (e.g. selection, button press etc). |
| BackTab | Tabs back to the previous item. |
| BottomEnd | Moves to the bottom/end. |
| BottomEndExtend | Extends the selection to the bottom/end. |
| Cancel | Cancels an action or any temporary states on the control e.g. expanding a combo list. |
| Collapse | Collapses a list or item (with subitems). |
| CollapseAll | Recursively collapses a list items of their children (if any). |
| Copy | Copies the current selection. |
| Cut | Cuts the current selection. |
| CutToEndLine | Cuts to the clipboard the characters from the current position to the end of the line. |
| CutToStartLine | Cuts to the clipboard the characters from the current position to the start of the line. |
| DeleteAll | Deletes all objects. |
| DeleteCharLeft | Deletes the character on the left. |
| DeleteCharRight | Deletes the character on the right. |
| DisableOverwrite | Disables overwrite mode (EnableOverwrite) |
| EnableOverwrite | Enables overwrite mode such that newly typed text overwrites the text that is already there (typically associated with the Insert key). |
| EndOfLine | Moves the cursor to the end of line. |
| EndOfLineExtend | Extends the selection to the end of line. |
| EndOfPage | Moves the cursor to the bottom of page. |
| Expand | Expands a list or item (with subitems). |
| ExpandAll | Recursively Expands all child items and their child items (if any). |
| KillWordBackwards | Deletes the characters backwards. |
| KillWordForwards | Deletes the characters forwards. |
| Left | Moves the selection left one by the minimum increment supported by the View e.g. single character, cell, item etc. |
| LeftExtend | Extends the selection left one by the minimum increment supported by the view e.g. single character, cell, item etc. |
| LeftHome | Moves to the left begin. |
| LeftHomeExtend | Extends the selection to the left begin. |
| LineDown | Moves down one item (cell, line, etc...). |
| LineDownExtend | Extends the selection down one (cell, line, etc...). |
| LineDownToLastBranch | Moves down to the last child node of the branch that holds the current selection. |
| LineUp | Moves up one (cell, line, etc...). |
| LineUpExtend | Extends the selection up one item (cell, line, etc...). |
| LineUpToFirstBranch | Moves up to the first child node of the branch that holds the current selection. |
| NewLine | Inserts a new item. |
| NextView | Moves focus to the next view. |
| NextViewOrTop | Moves focus to the next view or toplevel (case of MDI). |
| OpenSelectedItem | Open the selected item. |
| PageDown | Move one page down. |
| PageDownExtend | Move one page page extending the selection to cover revealed objects/characters. |
| PageLeft | Moves to the left page. |
| PageRight | Moves to the right page. |
| PageUp | Move one page up. |
| PageUpExtend | Move one page up extending the selection to cover revealed objects/characters. |
| Paste | Pastes the current selection. |
| PreviousView | Moves focuss to the previous view. |
| PreviousViewOrTop | Moves focus to the next previous or toplevel (case of MDI). |
| QuitToplevel | Quit a Toplevel. |
| Redo | Redo changes. |
| Refresh | Refresh. |
| Right | Moves the selection right one by the minimum increment supported by the view e.g. single character, cell, item etc. |
| RightEnd | Moves to the right end. |
| RightEndExtend | Extends the selection to the right end. |
| RightExtend | Extends the selection right one by the minimum increment supported by the view e.g. single character, cell, item etc. |
| ScrollDown | Scrolls down one (cell, line, etc...) (without changing the selection). |
| ScrollLeft | Scrolls one item (cell, character, etc...) to the left |
| ScrollRight | Scrolls one item (cell, character, etc...) to the right. |
| ScrollUp | Scrolls up one item (cell, line, etc...) (without changing the selection). |
| SelectAll | Selects all objects. |
| StartOfLine | Moves the cursor to the start of line. |
| StartOfLineExtend | Extends the selection to the start of line. |
| StartOfPage | Moves the cursor to the top of page. |
| Suspend | Suspend a application (used on Linux). |
| Tab | Tabs to the next item. |
| ToggleChecked | Toggle the checked state. |
| ToggleExpandCollapse | Toggles the Expanded or collapsed state of a a list or item (with subitems). |
| ToggleExtend | Toggles the selection. |
| ToggleOverwrite | Toggles overwrite mode such that newly typed text overwrites the text that is already there (typically associated with the Insert key). |
| TopHome | Moves to the top/home. |
| TopHomeExtend | Extends the selection to the top/home. |
| Undo | Undo changes. |
| UnixEmulation | Unix emulation. |
| WordLeft | Moves the caret to the start of the previous word. |
| WordLeftExtend | Extends the selection to the start of the previous word. |
| WordRight | Moves the caret to the start of the next word. |
| WordRightExtend | Extends the selection to the start of the next word. |