Compartir a través de


AppearanceEditorPart Web Server Control Overview

The AppearanceEditorPart Web server control provides an editor control that enables end users to edit several user interface (UI) properties on an associated WebPart control.

This topic contains:

  • Background

  • Code Examples

  • Class Reference

Background

The AppearanceEditorPart control enables end users to edit several UI properties of a WebPart control. The following table lists user customizable features and corresponding WebPart control property values that are editable by using the AppearanceEditorPart control.

User Customizable Feature

WebPart Control Property

Set the text for the title.

Title

Select the title and border option type.

ChromeType

Select the direction that content flows on the page.

Direction

Set the height and units.

Height

Set the width and units.

Width

Hide or show the control.

Hidden

To enable editing of other properties and of the behavior of WebPart controls, you can use the other EditorPart controls supplied with the Web Parts control set. These controls include the BehaviorEditorPart, the LayoutEditorPart, and the PropertyGridEditorPart controls. The built-in EditorPart controls provide commonly used editing features for WebPart controls. You can also create a custom editor control by inheriting from the EditorPart class. For a code example, see System.Web.UI.WebControls.WebParts.EditorPart.

Enabling an AppearanceEditorPart Control

The AppearanceEditorPart control is displayed only when a Web Parts page is in edit mode and when the user has selected an associated WebPart control for editing. For more information, see Walkthrough: Changing Display Modes on a Web Parts Page.

Back to top

Code Examples

Walkthrough: Creating a Web Parts Page

How to: Treat a User Control as a Web Parts Control

How to: Provide Optional Web Parts Controls

How to: Enable Users to Import Web Parts Control Settings

How to: Export Web Parts Control Settings

How to: Build and Run the Data-bound Web Parts Control Example

Walkthrough: Changing Display Modes on a Web Parts Page

How to: Set the Display Mode of a Web Parts Page

Walkthrough: Implementing Web Parts Personalization with a User Control

Walkthrough: Implementing Web Parts Personalization using IPersonalizable

How to: Enable Shared Personalization of Web Parts Pages

How to: Disable Web Parts Personalization

How to: Create Personalizable Properties on a Web Parts Control

How to: Remove User Entries from the Personalization Store

How to: Enable Users to Clear Personalization State

How to: Declare a Static Connection between Two Web Parts Controls

Back to top

Class Reference

Back to top

See Also

Reference

AppearanceEditorPart

System.Web.UI.WebControls.WebParts

BehaviorEditorPart

LayoutEditorPart

PropertyGridEditorPart