DeclarativeCatalogPart::Title Property

 

Gets or sets the title that appears in the control's title bar.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public:
property String^ Title {
	virtual String^ get() override;
	virtual void set(String^ value) override;
}

Property Value

Type: System::String^

A 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 a DeclarativeCatalogPart 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 the declarative use of the Title property. For the full code required to run the example, see the Example section of the DeclarativeCatalogPart class overview.

This example shows how to set the Title property on the control in declarative markup. If you do not set the property, or if you assign an empty string ("") , a default title is supplied.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: