Ignores Alt+Up and Alt+Down, passing through any other keys.
Namespace: CleanCode.DataGridViewControlsAssembly: CleanCode.DataGridViewControls (in CleanCode.DataGridViewControls.dll) Version: 1.2.3.0 (1.2.03)
Syntax
Parameters
- keyData
- Type: System.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
Exception | Condition |
---|---|
System InvalidCastException | The 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. |
System Exception | This 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