DataGridViewComboBoxCell.OnLeave(Int32, Boolean) 方法

定义

当焦点从单元格上移开时调用。

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)

参数

rowIndex
Int32

该单元格的父行索引。

throughMouseClick
Boolean

如果用户操作将焦点从单元格上移开,则为 true;如果编程操作将焦点从单元格上移开,则为 false

适用于

另请参阅