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