PageCatalogPart.Title Property

Note: This property is new in the .NET Framework version 2.0.

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:
virtual property String^ Title {
	String^ get () override;
	void set (String^ value) override;
}
/** @property */
public String get_Title ()

/** @property */
public void set_Title (String value)

public override function get Title () : String

public override function set Title (value : String)

Property Value

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 PageCatalogPart 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 PageCatalogPart class overview.

The following source code 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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: