GridView.ShowHeaderWhenEmpty Property

.NET Framework (current version)

Gets or sets a value that indicates whether the heading of a column in the GridView control is visible when the column has no data.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public virtual bool ShowHeaderWhenEmpty { get; set; }

Property Value

Type: System.Boolean

true if the header is visible; otherwise, false.

.NET Framework
Available since 4.0
Return to top