DataGridViewComboBoxCell.OnLeave(Int32, Boolean) Method

Definition

Called when the focus moves from a cell.

protected:
 override void OnLeave(int rowIndex, bool throughMouseClick);
protected override void OnLeave (int rowIndex, bool throughMouseClick);
override this.OnLeave : int * bool -> unit
Protected Overrides Sub OnLeave (rowIndex As Integer, throughMouseClick As Boolean)

Parameters

rowIndex
Int32

The index of the cell's parent row.

throughMouseClick
Boolean

true if a user action moved focus from the cell; false if a programmatic operation moved focus from the cell.

Applies to

See also