System.Web.UI.WebControls.WebParts.WebPart.DisplayTitle Property

Gets a string that contains the full title text actually displayed in the title bar of a System.Web.UI.WebControls.WebParts.WebPart control instance.

Syntax

public string DisplayTitle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The WebPart.DisplayTitle property returns either the current value of the Part.Title property or, if the control has no title, a calculated value. The calculated value consists of a localizable resource string for untitled controls, plus (if there are multiple controls within the zone) a number based on the index of the control within the zone.

For custom System.Web.UI.WebControls.WebParts.WebPart controls where the WebPart.Subtitle property has been overridden to return a string value to use as a subtitle, the WebPart.DisplayTitle property is concatenated with the subtitle to produce a complete title.

The WebPart.DisplayTitle property value also serves as part of a ToolTip that appears when a user positions the mouse pointer over the title bar of a control. The full ToolTip consists of the WebPart.DisplayTitle value, followed by a hyphen, followed by the value of the control's WebPart.Description property.

Requirements

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0