WebZone.RenderBeginTag(HtmlTextWriter) 方法

定义

将区域控件的 HTML 开始标记呈现为指定的 HtmlTextWriter 对象。Renders the opening HTML tag of the zone control to the specified HtmlTextWriter object.

public:
 override void RenderBeginTag(System::Web::UI::HtmlTextWriter ^ writer);
public override void RenderBeginTag (System.Web.UI.HtmlTextWriter writer);
override this.RenderBeginTag : System.Web.UI.HtmlTextWriter -> unit
Public Overrides Sub RenderBeginTag (writer As HtmlTextWriter)

参数

writer
HtmlTextWriter

表示在客户端上呈现 HTML 内容的输出流的 HtmlTextWriterAn HtmlTextWriter that represents the output stream to render HTML content on the client.

注解

RenderBeginTag方法主要由控件开发人员使用。The RenderBeginTag method is used primarily by control developers. 对于 WebZone 控件,该方法为区域呈现的 HTML 表设置样式特性。For a WebZone control, the method sets style attributes for the HTML table that is rendered for the zone. 样式属性有助于在支持的浏览器中正确呈现 HTML 表。The style attributes help render the HTML table properly in supported browsers.

适用于

另请参阅