CatalogPartChrome.RenderCatalogPart(HtmlTextWriter, CatalogPart) 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 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.