DataGridViewCheckBoxCell.OnMouseLeave(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当鼠标指针从单元格移动时调用。
protected:
override void OnMouseLeave(int rowIndex);
protected override void OnMouseLeave(int rowIndex);
override this.OnMouseLeave : int -> unit
Protected Overrides Sub OnMouseLeave (rowIndex As Integer)
参数
- rowIndex
- Int32
当前单元格的行索引或 -1 该单元格不由行拥有。
注解
如果单元格的当前值 ButtonState 正常,此方法会导致单元格的用户界面(UI)更新。
此方法类似于 OnMouseLeave 该方法。 它在引发事件的相同情况下 MouseLeave 调用,但实际上不会引发该事件。