'Declaration Function HandleFinishEdit( _ ByVal e As KeyEventArgs _ ) As Boolean
bool HandleFinishEdit( KeyEventArgs e )
Parameters
- e
- Key to be tested.
Return Value
True if the key should finish the edits and close the editor.
'Declaration Function HandleFinishEdit( _ ByVal e As KeyEventArgs _ ) As Boolean
bool HandleFinishEdit( KeyEventArgs e )
If this method returns true, the grid copies the editor value to the cell and exits edit mode. The key is then processed by the grid (unless the e.Handled parameter is set to true).
For example, pressing the down arrow typically causes the grid to exit edit mode and move the cursor to the next row.
The default handler returns true for the TAB, ENTER, and ESC keys. It also handles the arrow keys for editors based on TextBox, ComboBox, and DateTimePicker controls.