WebPartZoneBase::DisplayTitle Property
Gets the current value of the text being used as the title for a WebPartZoneBase zone when the zone itself is visible.
Assembly: System.Web (in System.Web.dll)
[BrowsableAttribute(false)] public: virtual property String^ DisplayTitle { String^ get (); }
Property Value
Type: System::StringA string that contains the title text for a zone. The default is the value of the base HeaderText property.
The DisplayTitle property either gets its value from the base HeaderText property or, if that value is nullptr, uses the ID value for the zone.
The following code example demonstrates the declarative use of the DisplayTitle property on a WebPartZone control. For the full code example, including the code-behind source file and the .aspx page that contains the zone in this code, see the WebPartZoneBase class overview.
Notice that in the following code example, the DisplayTitle property value is retrieved from the partial class.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.