Gets or sets the title of a part control.
Assembly: System.Web (in System.Web.dll)
The visible title text in a part control's title bar is set by the property. The title text also appears as part of the ToolTip text when you position your mouse pointer over the title bar of a WebPart control or other server control that appears in a WebPartZone zone.
The style of the title text is determined by the PartTitleStyle property of the zone that contains the part control.
If you do not supply a title for a control, the Web Parts control set automatically calculates a default string to use as a title. For more information, see DisplayTitle. Also, it is possible to provide a standard subtitle that is appended to the title string. For details, see Subtitle.
The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and ASP.NET Globalization and Localization.Notes to Inheritors
Derived classes such as WebPart can override to enable user personalization of the title.
The following code example illustrates the declarative use of the property in a part control. This example requires the custom WebPart control TextDisplayWebPart, which can be found in the Example section of the Part class summary.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.