The AppearanceEditorPart control enables end users to edit several UI properties of a WebPart control. The type of control that appears in the page to edit each property value is listed in the following table.
AppearanceEditorPart editable properties
Property | Control used to edit property |
---|---|
Title | A TextBox control is used to set the text for the title. |
ChromeType | A DropDownList control is used to select what type of title-and-border option is used. |
Direction | A DropDownList control is used to select the direction that content flows on the page. |
Height | A TextBox control is used to set a number for the height, and a DropDownList control is used to select the units. |
Width | A TextBox control is used to set a number for the width, and a DropDownList control is used to select the units. |
Hidden | A CheckBox control is used to indicate whether the control is hidden. |
The AppearanceEditorPart control becomes visible only when a Web Parts page is in edit mode, and when a specific Web Parts control has been selected for editing. The AppearanceEditorPart control, like all other EditorPart controls, resides in an EditorZone zone.
To add an AppearanceEditorPart control to a page
Drag the AppearanceEditorPart control from the Toolbox panel to an EditorZone control on the page.
For a full description of all AppearanceEditorPart control properties, see AppearanceEditorPart in the MSDN library.
For an overview of and programming examples for the AppearanceEditorPart control, see AppearanceEditorPart in the MSDN library.