EditorZoneBase.CreateEditorPartChrome Método

Definição

Obtém uma referência a um novo objeto EditorPartChrome usado para renderizar os elementos da interface do usuário periférica em torno da zona EditorZoneBase.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

Retornos

EditorPartChrome

Um EditorPartChrome que renderiza os elementos periféricos de interface do usuário para a zona.An EditorPartChrome that renders the peripheral UI elements for the zone.

Comentários

O CreateEditorPartChrome método retorna um novo EditorPartChrome objeto.The CreateEditorPartChrome method returns a new EditorPartChrome object. O Chrome inclui os seguintes elementos de interface do usuário periféricos que envolvem cada EditorPart controle individual na zona: uma borda; uma barra de título; os itens que aparecem na barra de título, incluindo ícones opcionais, texto de título e um menu de verbos; e itens que aparecem na área de rodapé de um controle.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.

O CreateEditorPartChrome método usa o EditorPartChrome objeto retornado para criar o Chrome em volta de cada EditorPart controle.The CreateEditorPartChrome method uses the returned EditorPartChrome object to create the chrome around each EditorPart control.

Notas aos Herdeiros

O CreateEditorPartChrome() método pode ser substituído em uma classe derivada para fornecer uma implementação diferente.The CreateEditorPartChrome() method can be overridden in a derived class to provide a different implementation. Por exemplo, você pode criar uma EditorPartChrome classe personalizada para fornecer mais controle sobre a renderização e a aparência da interface do usuário de edição.For example, you might create a customized EditorPartChrome class to give you more control over the rendering and appearance of the editing UI. Se você substituir o CreateEditorPartChrome() método em uma zona derivada, poderá criar seu objeto personalizado EditorPartChrome no método substituído.If you override the CreateEditorPartChrome() method in a derived zone, you could create your custom EditorPartChrome object in the overridden method.

Aplica-se a

Confira também