語言

DataGridViewCell.DoubleClickUnsharesRow(DataGridViewCellEventArgs) 方法

定義

表示當雙擊該格時,該格的列是否會被取消共享。

protected:
 virtual bool DoubleClickUnsharesRow(System::Windows::Forms::DataGridViewCellEventArgs ^ e);
protected virtual bool DoubleClickUnsharesRow(System.Windows.Forms.DataGridViewCellEventArgs e);
abstract member DoubleClickUnsharesRow : System.Windows.Forms.DataGridViewCellEventArgs -> bool
override this.DoubleClickUnsharesRow : System.Windows.Forms.DataGridViewCellEventArgs -> bool
Protected Overridable Function DoubleClickUnsharesRow (e As DataGridViewCellEventArgs) As Boolean

參數

傳回

true 如果該列將是未共享的,否則, false。 基底 DataGridViewCell 類別總是回傳 false。

備註

DoubleClickUnsharesRow該方法在方法之前OnDoubleClick被呼叫。 如果呼叫 的true結果是取消了該小區的列,則必須返回OnDoubleClick。 否則,它應該會返回 false。

如需有關資料列共用的詳細資訊,請參閱縮放 Windows Forms DataGridView 控制項的最佳做法。

適用於

另請參閱