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; }
member this.Visible : bool
Public Overridable ReadOnly Property Visible As Boolean

属性值

如果该单元格可见,则为 true;否则为 falsetrue if the cell is visible; otherwise, false.

属性

注解

此属性指示单元格是否在其 Visible 属性设置为 false的行或列中。This 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.

适用于

另请参阅