ExtendedDataGridView ProcessDataGridViewKey Method CleanCode C# Libraries v1.2.03 API
Ignores Alt+Up and Alt+Down, passing through any other keys.

Namespace: CleanCode.DataGridViewControls
Assembly: CleanCode.DataGridViewControls (in CleanCode.DataGridViewControls.dll) Version: 1.2.3.0 (1.2.03)
Syntax

protected override bool ProcessDataGridViewKey(
	KeyEventArgs e
)

Return Value

true if the key was processed; otherwise, false.
Exceptions

ExceptionCondition
OnlineSystem InvalidCastExceptionThe key pressed would cause the control to enter edit mode, but the EditType property of the current cell does not indicate a class that derives from Control and implements IDataGridViewEditingControl.
OnlineSystem ExceptionThis action would commit a cell value or enter edit mode, but an error in the data source prevents the action and either there is no handler for the DataError event or the handler has set the ThrowException property to true. -or- The DELETE key would delete one or more rows, but an error in the data source prevents the deletion and either there is no handler for the DataError event or the handler has set the ThrowException property to true.
See Also