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: 2024.12.18.0+3a863295c73252b22e8ab6862ed6bdc57bcbd0fc
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