ExtendedDataGridView ProcessDialogKey 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 ProcessDialogKey(
	Keys keyData
)

Parameters

keyData
Type: OnlineSystem.Windows.Forms Keys
A bitwise combination of Keys values that represents the key or keys to process.

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.
See Also