語言

DataGridViewLinkCell.MouseLeaveUnsharesRow(Int32) 方法

定義

表示當滑鼠指標離開該儲存格時,包含該儲存格的列是否會被非共享。

protected:
 override bool MouseLeaveUnsharesRow(int rowIndex);
protected override bool MouseLeaveUnsharesRow(int rowIndex);
override this.MouseLeaveUnsharesRow : int -> bool
Protected Overrides Function MouseLeaveUnsharesRow (rowIndex As Integer) As Boolean

參數

rowIndex
Int32

包含該格子的列索引。

傳回

true如果儲存格顯示的連結不是正常狀態;否則,。 false

備註

MouseLeaveUnsharesRow 在 之前稱為 OnMouseLeave。 MouseLeaveUnsharesRow若呼叫 的true結果是取消包含該儲存格的該列,則必須返回OnMouseLeave。 否則應該會恢復 false 正常。

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

適用於

另請參閱