User Control Combo Box Editing ControlEditing Control Wants Input Key Method
This 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.
Definition
Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
True if the specified key is a regular input key that should be handled by the editing control; otherwise, false.
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public bool EditingControlWantsInputKey(
Keys keyData,
bool dataGridViewWantsInputKey
)VB
Public Function EditingControlWantsInputKey (
keyData As Keys,
dataGridViewWantsInputKey As Boolean
) As BooleanC++
public:
virtual bool EditingControlWantsInputKey(
Keys keyData,
bool dataGridViewWantsInputKey
) sealedF#
abstract EditingControlWantsInputKey :
keyData : Keys *
dataGridViewWantsInputKey : bool -> bool
override EditingControlWantsInputKey :
keyData : Keys *
dataGridViewWantsInputKey : bool -> bool Parameters
- keyData Keys
- The key that was pressed.
- dataGridViewWantsInputKey Boolean
- True when the DataGridView wants to process the key; otherwise, false.
Return Value
BooleanTrue if the specified key is a regular input key that should be handled by the editing control; otherwise, false.