EditorPartChrome.RenderEditorPart(HtmlTextWriter, EditorPart) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Renders a complete EditorPart control with all its sections.
public:
virtual void RenderEditorPart(System::Web::UI::HtmlTextWriter ^ writer, System::Web::UI::WebControls::WebParts::EditorPart ^ editorPart);
public virtual void RenderEditorPart (System.Web.UI.HtmlTextWriter writer, System.Web.UI.WebControls.WebParts.EditorPart editorPart);
abstract member RenderEditorPart : System.Web.UI.HtmlTextWriter * System.Web.UI.WebControls.WebParts.EditorPart -> unit
override this.RenderEditorPart : System.Web.UI.HtmlTextWriter * System.Web.UI.WebControls.WebParts.EditorPart -> unit
Public Overridable Sub RenderEditorPart (writer As HtmlTextWriter, editorPart As EditorPart)
Parameters
- writer
- HtmlTextWriter
The HtmlTextWriter that receives the editorPart
content.
- editorPart
- EditorPart
The control currently being rendered.
Exceptions
The control that editorPart
refers to is null
.
Remarks
The RenderEditorPart method renders the complete EditorPart control, with header, contents, and footer. Overriding this method gives a developer complete programmatic control over rendering all aspects of editorPart
; for that reason, overriding this method is quite complex.