Share via

GridView.ShowHeaderWhenEmpty Property


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.

 virtual property bool ShowHeaderWhenEmpty { bool get(); void set(bool value); };
public virtual bool ShowHeaderWhenEmpty { get; set; }
member this.ShowHeaderWhenEmpty : bool with get, set
Public Overridable Property ShowHeaderWhenEmpty As Boolean

Property Value

true if the header is visible; otherwise, false.

Applies to