DataGridViewCell.Visible 屬性

定義

取得指出儲存格是在已隱藏資料列或是資料行中的值。Gets a value indicating whether the cell is in a row or column that has been hidden.

public:
 virtual property bool Visible { bool get(); };
[System.ComponentModel.Browsable(false)]
public virtual bool Visible { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Visible : bool
Public Overridable ReadOnly Property Visible As Boolean

屬性值

Boolean

如果儲存格為可見的,則為 true,否則為 falsetrue if the cell is visible; otherwise, false.

屬性

備註

這個屬性會指出資料格是在資料列或資料行中,且其 Visible 屬性設定為 falseThis property indicates whether the cell is in a row or a column with its Visible property set to false. 它不會指出資料格是否已從螢幕滾動。It does not indicate whether the cell has been scrolled off-screen. 若要判斷是否可以在控制項的顯示區域內看到資料格,請使用 Displayed 屬性。To determine whether a cell is visible within the display area of the control, use the Displayed property.

適用於

另請參閱