DataGridViewCell.MouseUpUnsharesRow(DataGridViewCellMouseEventArgs) 方法

定義

指出當指標在資料列的儲存格上,而使用者釋放滑鼠按鈕時,該資料列是否取消共用。

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

如需數據列共用的詳細資訊,請參閱調整 dataGridView 控件 Windows Forms 最佳做法

適用於

另請參閱