Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

EditorZoneBase.CreateEditorPartChrome Method

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

Namespace:  System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)
protected virtual EditorPartChrome CreateEditorPartChrome()

Return Value

Type: System.Web.UI.WebControls.WebParts.EditorPartChrome
An EditorPartChrome that renders the peripheral UI elements for the zone.

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.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.