Table of Contents

Enum Command

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Actions which can be performed by the application or bound to keys in a View control.

public enum Command

Fields

Accept = 35

Accepts the current state (e.g. selection, button press etc).

BackTab = 74

Tabs back to the previous item.

BottomEnd = 31

Moves to the bottom/end.

BottomEndExtend = 32

Extends the selection to the bottom/end.

Cancel = 41

Cancels an action or any temporary states on the control e.g. expanding a combo list.

Collapse = 39

Collapses a list or item (with subitems).

CollapseAll = 40

Recursively collapses a list items of their children (if any).

Copy = 61

Copies the current selection.

Cut = 62

Cuts the current selection.

CutToEndLine = 18

Cuts to the clipboard the characters from the current position to the end of the line.

CutToStartLine = 19

Cuts to the clipboard the characters from the current position to the start of the line.

DeleteAll = 46

Deletes all objects.

DeleteCharLeft = 44

Deletes the character on the left.

DeleteCharRight = 43

Deletes the character on the right.

DisableOverwrite = 24

Disables overwrite mode (EnableOverwrite)

EnableOverwrite = 23

Enables overwrite mode such that newly typed text overwrites the text that is already there (typically associated with the Insert key).

EndOfLine = 49

Moves the cursor to the end of line.

EndOfLineExtend = 50

Extends the selection to the end of line.

EndOfPage = 52

Moves the cursor to the bottom of page.

Expand = 37

Expands a list or item (with subitems).

ExpandAll = 38

Recursively Expands all child items and their child items (if any).

KillWordBackwards = 21

Deletes the characters backwards.

KillWordForwards = 20

Deletes the characters forwards.

Left = 8

Moves the selection left one by the minimum increment supported by the View e.g. single character, cell, item etc.

LeftExtend = 10

Extends the selection left one by the minimum increment supported by the view e.g. single character, cell, item etc.

LeftHome = 55

Moves to the left begin.

LeftHomeExtend = 56

Extends the selection to the left begin.

LineDown = 0

Moves down one item (cell, line, etc...).

LineDownExtend = 1

Extends the selection down one (cell, line, etc...).

LineDownToLastBranch = 2

Moves down to the last child node of the branch that holds the current selection.

LineUp = 4

Moves up one (cell, line, etc...).

LineUpExtend = 5

Extends the selection up one item (cell, line, etc...).

LineUpToFirstBranch = 6

Moves up to the first child node of the branch that holds the current selection.

NewLine = 72

Inserts a new item.

NextView = 66

Moves focus to the next view.

NextViewOrTop = 68

Moves focus to the next view or toplevel (case of MDI).

OpenSelectedItem = 33

Open the selected item.

PageDown = 25

Move one page down.

PageDownExtend = 26

Move one page page extending the selection to cover revealed objects/characters.

PageLeft = 53

Moves to the left page.

PageRight = 54

Moves to the right page.

PageUp = 27

Move one page up.

PageUpExtend = 28

Move one page up extending the selection to cover revealed objects/characters.

Paste = 63

Pastes the current selection.

PreviousView = 67

Moves focuss to the previous view.

PreviousViewOrTop = 69

Moves focus to the next previous or toplevel (case of MDI).

QuitToplevel = 64

Quit a Toplevel.

Redo = 60

Redo changes.

Refresh = 70

Refresh.

Right = 11

Moves the selection right one by the minimum increment supported by the view e.g. single character, cell, item etc.

RightEnd = 57

Moves to the right end.

RightEndExtend = 58

Extends the selection to the right end.

RightExtend = 13

Extends the selection right one by the minimum increment supported by the view e.g. single character, cell, item etc.

ScrollDown = 3

Scrolls down one (cell, line, etc...) (without changing the selection).

ScrollLeft = 9

Scrolls one item (cell, character, etc...) to the left

ScrollRight = 12

Scrolls one item (cell, character, etc...) to the right.

ScrollUp = 7

Scrolls up one item (cell, line, etc...) (without changing the selection).

SelectAll = 45

Selects all objects.

StartOfLine = 47

Moves the cursor to the start of line.

StartOfLineExtend = 48

Extends the selection to the start of line.

StartOfPage = 51

Moves the cursor to the top of page.

Suspend = 65

Suspend a application (used on Linux).

Tab = 73

Tabs to the next item.

ToggleChecked = 34

Toggle the checked state.

ToggleExpandCollapse = 36

Toggles the Expanded or collapsed state of a a list or item (with subitems).

ToggleExtend = 71

Toggles the selection.

ToggleOverwrite = 22

Toggles overwrite mode such that newly typed text overwrites the text that is already there (typically associated with the Insert key).

TopHome = 29

Moves to the top/home.

TopHomeExtend = 30

Extends the selection to the top/home.

Undo = 59

Undo changes.

UnixEmulation = 42

Unix emulation.

WordLeft = 14

Moves the caret to the start of the previous word.

WordLeftExtend = 15

Extends the selection to the start of the previous word.

WordRight = 16

Moves the caret to the start of the next word.

WordRightExtend = 17

Extends the selection to the start of the next word.