Gets the title text of a corresponding WebPart control.
Assembly: System.Web (in System.Web.dll)
The value of the WebPart.DisplayTitle property. Whatever the corresponding WebPart control has for its DisplayTitle property, that becomes the value of the property; otherwise, the title is a calculated value.property corresponds directly to the
The following code example demonstrates programmatic use of the WebPartDescription class overview topic.property. For the full code required to run this code example, see the Example section of the
The following code in the Button1_Click method of a Web page demonstrates how to get the collection of WebPartDescription objects in a catalog using the GetAvailableWebPartDescriptions method, and then to display the details of each WebPart control in the catalog by looping through the WebPartDescription objects. Note that the property value is retrieved in the following code.
Available since 2.0