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.

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

public:
[BrowsableAttribute(false)]
property String^ DisplayTitle {
	virtual String^ get();
}

Property Value

Type: System::String^

A 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 null, 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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: