EditorZoneBase.CreateEditorPartChrome Method

Definition

Gets a reference to a new EditorPartChrome object used to render the peripheral user interface (UI) elements around an EditorZoneBase zone.

protected:
 virtual System::Web::UI::WebControls::WebParts::EditorPartChrome ^ CreateEditorPartChrome();
protected virtual System.Web.UI.WebControls.WebParts.EditorPartChrome CreateEditorPartChrome ();
abstract member CreateEditorPartChrome : unit -> System.Web.UI.WebControls.WebParts.EditorPartChrome
override this.CreateEditorPartChrome : unit -> System.Web.UI.WebControls.WebParts.EditorPartChrome
Protected Overridable Function CreateEditorPartChrome () As EditorPartChrome

Returns

An EditorPartChrome that renders the peripheral UI elements for the zone.

Remarks

The CreateEditorPartChrome method returns a new EditorPartChrome object. Chrome includes the following peripheral UI elements that surround each individual EditorPart control in the zone: a border; a title bar; the items that appear within the title bar, including optional icons, title text, and a verbs menu; and items appearing in the footer area of a control.

The CreateEditorPartChrome method uses the returned EditorPartChrome object to create the chrome around each EditorPart control.

Notes to Inheritors

The CreateEditorPartChrome() method can be overridden in a derived class to provide a different implementation. For example, you might create a customized EditorPartChrome class to give you more control over the rendering and appearance of the editing UI. If you override the CreateEditorPartChrome() method in a derived zone, you could create your custom EditorPartChrome object in the overridden method.

Applies to

See also