DataGridViewTextBoxEditingControl::EditingControlWantsInputKey Method (Keys, Boolean)
.NET Framework (current version)
Determines whether the specified key is a regular input key that the editing control should process or a special key that the DataGridView should process.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: virtual bool EditingControlWantsInputKey( Keys keyData, bool dataGridViewWantsInputKey )
Parameters
- keyData
-
Type:
System.Windows.Forms::Keys
A Keys that represents the key that was pressed.
- dataGridViewWantsInputKey
-
Type:
System::Boolean
true when the DataGridView wants to process the keyData; otherwise, false.
Return Value
Type: System::Booleantrue if the specified key is a regular input key that should be handled by the editing control; otherwise, false.
.NET Framework
Available since 2.0
Available since 2.0
Show: