BaseComboBoxCellOnEnter 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: 2023.4.9.0
protected override void OnEnter(
	int rowIndex,
	bool throughMouseClick
)

Parameters

rowIndex  Int32
The row index
throughMouseClick  Boolean
True if user action moved the focus, false if it was programmatic

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.

See Also