DataGridViewCheckBoxCell.ContentDoubleClickUnsharesRow 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示雙擊儲存格內容時,包含該儲存格的列是否會被取消共享。
protected:
override bool ContentDoubleClickUnsharesRow(System::Windows::Forms::DataGridViewCellEventArgs ^ e);
protected override bool ContentDoubleClickUnsharesRow(System.Windows.Forms.DataGridViewCellEventArgs e);
override this.ContentDoubleClickUnsharesRow : System.Windows.Forms.DataGridViewCellEventArgs -> bool
Protected Overrides Function ContentDoubleClickUnsharesRow (e As DataGridViewCellEventArgs) As Boolean
參數
DataGridViewCellEventArgs其中包含關於雙擊的相關資料。
傳回
true若儲存格處於編輯模式;否則,。 false
備註
ContentDoubleClickUnsharesRow 在 之前稱為 OnContentDoubleClick。 如果呼叫 的true結果是取消了包含該儲存格的該列,則必須返回OnContentDoubleClick。 否則應該會恢復 false 正常。
如需有關資料列共用的詳細資訊,請參閱縮放 Windows Forms DataGridView 控制項的最佳做法。