This documentation is archived and is not being maintained.

WebPartZoneBase::HasHeader Property

Gets a value indicating whether a zone has a header area.

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

protected:
virtual property bool HasHeader {
	bool get () override;
}

Property Value

Type: System::Boolean
true if the zone has a header area; otherwise, false. The default value is false when the page is in normal BrowseDisplayMode.

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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: