DataGridViewCell.Visible Property


Gets a value indicating whether the cell is in a row or column that has been hidden.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public virtual bool Visible { get; }

Property Value

Type: System.Boolean

true if the cell is visible; otherwise, 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. To determine whether a cell is visible within the display area of the control, use the Displayed property.

.NET Framework
Available since 2.0
Return to top