ImportCatalogPart::Title Property
Gets or sets the title that appears in the title bar of an ImportCatalogPart control.
Assembly: System.Web (in System.Web.dll)
public: virtual property String^ Title { String^ get () override; void set (String^ value) override; }
<asp:ImportCatalogPart Title="String" />
Property Value
Type: System::StringA string that is used as the title of the control. The default value is a calculated control name supplied by the Web Parts control set.
The Title property value is displayed in the title bar of an ImportCatalogPart control when the control is visible in catalog mode. When the control is declared in a page, you can set a value for the property by using the Title attribute. If you do not supply a value for the title, a culture-specific default value is used to describe the kind of properties that this control allows users to edit.
The following code example demonstrates how to use the Title property declaratively and programmatically. For the full code and instructions required to run the example, see the Example section of the ImportCatalogPart class overview.
In the following section of code, notice that the Title property value is set declaratively for the control.
In this section of code, the Title property value is assigned programmatically.
When you load the page in a browser, you can use the Display Mode drop-down list control to select Catalog Mode and switch the page to catalog mode. With the page in catalog mode and the description file uploaded, note the various text strings displayed in the user interface (UI) for the ImportCatalogPart control. If you click the Upload Description File button, the text for several of the properties in the UI is changed, including the text for the Title property.
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.