BaseComboBoxCellOnEnter Method
This is overridden to set the Ignore Next Click flag based on the data grid's
EditMode setting.
Namespace: EWSoftware.ListControls.DataGridViewControlsAssembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
protected override void OnEnter(
int rowIndex,
bool throughMouseClick
)
Protected Overrides Sub OnEnter (
rowIndex As Integer,
throughMouseClick As Boolean
)
protected:
virtual void OnEnter(
int rowIndex,
bool throughMouseClick
) override
abstract OnEnter :
rowIndex : int *
throughMouseClick : bool -> unit
override OnEnter :
rowIndex : int *
throughMouseClick : bool -> unit
Parameters
- rowIndex Int32
- The row index
- throughMouseClick Boolean
- True if user action moved the focus, false if it was programmatic
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.