语言

DataGridViewCheckBoxCell.ContentDoubleClickUnsharesRow 方法

定义

指示在双击单元格内容时是否取消共享包含单元格的行。

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

参数

e
DataGridViewCellEventArgs

包含有关双击的数据的 A DataGridViewCellEventArgs 。

返回

true 如果单元格处于编辑模式,则为否则,为 false.

注解

ContentDoubleClickUnsharesRow 在前面 OnContentDoubleClick调用 。 如果调用true具有取消共享包含单元格的行的效果,则必须返回OnContentDoubleClick它。 否则,它应返回 false 。

有关行共享的详细信息,请参阅 有关缩放 Windows 窗体 DataGridView 控件的最佳做法。

适用于

另请参阅