Base Combo Box CellOn Enter Method
This is overridden to set the Ignore Next Click flag based on the data grid's
EditMode setting.
Definition
Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
protected override void OnEnter(
int rowIndex,
bool throughMouseClick
)VB
Protected Overrides Sub OnEnter (
rowIndex As Integer,
throughMouseClick As Boolean
)C++
protected:
virtual void OnEnter(
int rowIndex,
bool throughMouseClick
) overrideF#
abstract OnEnter :
rowIndex : int *
throughMouseClick : bool -> unit
override OnEnter :
rowIndex : int *
throughMouseClick : bool -> unit Parameters
Remarks
If not editing on enter, the next mouse click is ignored as it is the one that will make it
enter edit mode and we don't want it to drop down the list if the button is clicked.