AppearanceEditorPart.Title Property

Gets or sets a title for the editor control.

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)

Not applicable.

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 an AppearanceEditorPart control when the control is visible in edit mode. When the control is declared in a page, you can set a value for the Title attribute. If you do not supply a value for the title, a culture-specific default value is used to describe the kinds of properties that this control allows users to edit.

The following code example demonstrates the use of the Title property. For the full code required to run the example, see the Example section of the AppearanceEditorPart class overview topic.

The code example shows how to set the title in page persistence format when the <asp:appearanceeditorpart> element is declared in a page.

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

When you load the page in a browser, you can select Edit Mode in the Display Mode drop-down list control to switch to edit mode. You can click the verbs menu (the downward arrow) in the title bar of the TextDisplayWebPart control, and click Edit to edit the control. When the editing user interface (UI) is visible, you can see the AppearanceEditorPart control's custom title.

Windows 98, Windows Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: