ערוך

שתף באמצעות


CatalogPartChrome.RenderCatalogPart(HtmlTextWriter, CatalogPart) Method

Definition

Renders a complete CatalogPart control with all its sections.

public:
 virtual void RenderCatalogPart(System::Web::UI::HtmlTextWriter ^ writer, System::Web::UI::WebControls::WebParts::CatalogPart ^ catalogPart);
public virtual void RenderCatalogPart (System.Web.UI.HtmlTextWriter writer, System.Web.UI.WebControls.WebParts.CatalogPart catalogPart);
abstract member RenderCatalogPart : System.Web.UI.HtmlTextWriter * System.Web.UI.WebControls.WebParts.CatalogPart -> unit
override this.RenderCatalogPart : System.Web.UI.HtmlTextWriter * System.Web.UI.WebControls.WebParts.CatalogPart -> unit
Public Overridable Sub RenderCatalogPart (writer As HtmlTextWriter, catalogPart As CatalogPart)

Parameters

writer
HtmlTextWriter

The HtmlTextWriter that receives the catalogPart content.

catalogPart
CatalogPart

The control currently being rendered.

Exceptions

The control that catalogPart refers to is null.

Remarks

The RenderCatalogPart method renders the complete CatalogPart control, with header, contents, and footer. Overriding this method gives a developer complete programmatic control over rendering all aspects of catalogPart; for that reason, overriding this method is quite complex.

Applies to