WebPartZoneBase.HasHeader Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value indicating whether a zone has a header area.
protected:
virtual property bool HasHeader { bool get(); };
protected override bool HasHeader { get; }
member this.HasHeader : bool
Protected Overrides ReadOnly Property HasHeader As Boolean
Property Value
true
if the zone has a header area; otherwise, false
. The default value is false
when the page is in normal BrowseDisplayMode.
Remarks
The HasHeader property overrides the base WebZone.HasHeader property to set the default value to false
for WebPartZoneBase controls when the page display mode is in normal BrowseDisplayMode.
If a Web Parts page is in one of the display modes that allow page design, such as DesignDisplayMode, EditDisplayMode, or CatalogDisplayMode, then the value of the HasHeader property is true
, so that the specified zone can display header user interface (UI) elements.