DataGridViewCell.MouseEnterUnsharesRow(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示当鼠标指针在行中的单元格上移动时是否取消共享行。
protected:
virtual bool MouseEnterUnsharesRow(int rowIndex);
protected virtual bool MouseEnterUnsharesRow(int rowIndex);
abstract member MouseEnterUnsharesRow : int -> bool
override this.MouseEnterUnsharesRow : int -> bool
Protected Overridable Function MouseEnterUnsharesRow (rowIndex As Integer) As Boolean
参数
- rowIndex
- Int32
单元格的父行的索引。
返回
false。
注解
该方法 MouseEnterUnsharesRow 在方法之前 OnMouseEnter 调用。 在派生类中,如果调用true具有取消共享包含单元格的行的效果,则必须返回OnMouseEnter它。 否则,它应返回 false。
有关行共享的详细信息,请参阅 有关缩放 Windows 窗体 DataGridView 控件的最佳做法。
适用于
另请参阅
- DataGridView
- MouseClickUnsharesRow(DataGridViewCellMouseEventArgs)
- MouseDoubleClickUnsharesRow(DataGridViewCellMouseEventArgs)
- MouseDownUnsharesRow(DataGridViewCellMouseEventArgs)
- OnMouseEnter(Int32)
- MouseLeaveUnsharesRow(Int32)
- MouseMoveUnsharesRow(DataGridViewCellMouseEventArgs)
- MouseUpUnsharesRow(DataGridViewCellMouseEventArgs)
- 有关缩放 Windows 窗体 DataGridView 控件的最佳做法