ImportCatalogPart::ImportedPartLabelText Property
Gets or sets text displayed after a user imports a description file to represent or describe the imported control within the catalog of imported controls.
Assembly: System.Web (in System.Web.dll)
public: property String^ ImportedPartLabelText { String^ get(); void set(String^ value); }
Property Value
Type: System::String^A string that contains the text of the label. The default value is a culture-specific message supplied by the .NET Framework.
The ImportedPartLabelText property is typically used to contain a short, general label that describes the control contained in the ImportCatalogPart control.
The following code example demonstrates how to use the ImportedPartLabelText 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 ImportedPartLabelText property value is set declaratively for the control.
In this section of code, the ImportedPartLabelText 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 ImportedPartLabelText property.
Available since 2.0