Definition: The virtual aerobics of the keyboard cannot be knocked out on the keyboard, such as Enter, Pagedown, Pageup, etc ..
In some nested controls, it is not because of these health.
We have exhausted in the previous one.
ENTER
The key, it seems that this keyboard response has been encapsulated by the control.
protected
Type. The control writer encapsulates multiple predefined keyboard bindings, called shortcuts. We can't intercept the Enter key and other keyboard buttons in KeyDown / KeyPress. The following is a shortcut to hidden:
operating
hot key
Complete the cell input and move to the next cell.
If the focus is on the sub-table link, navigate to the table.
ENTER
If you are in a cell edit mode, the cell editing is canceled.
If you are in subtitle selection mode, you will cancel the editing on the line.
ESC
When editing a cell, delete the characters before the insertion point.
Backspace key
When editing a cell, delete the characters after the insertion point.
DELETE button
Move to the first cell of the current line.
HOME button
Move to the last cell of the current line.
End key
Highlight the characters in the current cell and place the insertion point at the end of the row. The same as double-click cell.
F2 key
If the focus is on a cell, move to the next cell in the row.
If the focus is on the last cell in a row, move to the first sub-table link of the row and expand it.
If the focus is on the sub-link, move to the next sub-link.
If the focus is on the last sub-link, move to the first cell of the next row.
Tab key
If the focus is on a cell, move to the previous cell in the row.
If the focus is on the first cell in a row, move to the last unfolded sub-table link in the previous row, or move to the last cell in the previous row.
If the focus is on the sub-link, move to the previous sub-link.
If the focus is on the first sub-link, move to the last cell of the previous row.
Shift Tab
Move it in the Tab key to the next control.
Ctrl Tab
Press the Tab key to move to the previous control.
Ctrl Shift Tab
If in the sub-table, move up to the parent table. Similarly to the behavior of clicking the "Back" button.
Alt left arrow key
Expand the sub-table link. Alt down arrow keys expand all links, not just selected links.
Alt down arrow keys or CTRL plus key
Folding sub-table link. Alt arrow keys fold all links, not just selected links.
ALT arrow key or Ctrl minus key
Move in the direction of the arrow to the farthest non-empty unit.
Ctrl arrow keys
The selected content is extended in the direction of the arrow (not including the sub-table link).
Shift up / down arrow keys
Press the direction of the arrow to extend the selected content to a non-airline (excluding the sub-table link).
Ctrl shift up / down arrow keys
Move to the cell in the upper left corner.
Ctrl home button
Move to cells in the lower right corner.
Ctrl End key
Extend the selected content to the top row.
Ctrl Shift HOME button
Extend the selected content to the bottom line.
Ctrl Shift End button
Select the current row (excluding the sub-table link).
Shift SpaceBAR button
Choose the entire grid (excluding sub-table links).
Ctrl A button
When in the sub-table, the father is displayed.
Ctrl Page Down Key
When in the sub-table, hide the father's line.
Ctrl Page Up
Extend the selected content down a screen (excluding the sub-table link).
SHIFT PAGE DOWN
Extend the selected content upward (not including sub-table link).
SHIFT PAGE UP
Call the DataGrid.Endedit method for the current line.
Ctrl ENTER key
When in edit mode, enter the dbnull value into a cell.
Ctrl 0 key
The ProcessCmdKey method determines if the control has a context menu. If there is, Allow ContextMenu to process the command health, if the command is not a shortcut, and the control has a parent, then the command will be sent to the parent's processcmdkey, net The effect is that the command is taken up at the control level. ProcessCmdkey Definition: Processing the command health. This method is called during the message pre-processing process to process the command key. The command key is always the key than the regular input key. Examples of the command key include shortcuts and menu shortcuts