EditorZoneBase.CreateEditorPartChrome メソッド

定義

EditorPartChrome ゾーンの周囲に周辺機器ユーザー インターフェイス (UI) 要素をレンダリングするために使用する新しいEditorZoneBase オブジェクトへの参照を取得します。

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

返品

ゾーンの周辺 UI 要素をレンダリングする EditorPartChrome

注釈

CreateEditorPartChrome メソッドは、新しいEditorPartChrome オブジェクトを返します。 Chrome には、ゾーン内の個々の EditorPart コントロールを囲む次の周辺機器 UI 要素が含まれています。境界線、タイトル バー、オプションのアイコン、タイトル テキスト、動詞メニューなど、タイトル バー内に表示される項目、およびコントロールのフッター領域に表示される項目。

CreateEditorPartChrome メソッドは、返されたEditorPartChrome オブジェクトを使用して、各EditorPart コントロールの周囲にクロムを作成します。

注意 (継承者)

CreateEditorPartChrome() メソッドは、派生クラスでオーバーライドして、別の実装を提供できます。 たとえば、カスタマイズされた EditorPartChrome クラスを作成して、編集 UI のレンダリングと外観をより詳細に制御できます。 派生ゾーンの CreateEditorPartChrome() メソッドをオーバーライドする場合は、オーバーライドされたメソッドでカスタム EditorPartChrome オブジェクトを作成できます。

適用対象

こちらもご覧ください