TableStyle.AddAttributesToRender(HtmlTextWriter, WebControl) 方法

定义

将有关背景图像、单元格间距、单元格填充、网格线和对齐方式的信息添加到要呈现的特性列表中。Adds information about the background image, cell spacing, cell padding, gridlines, and alignment to the list of attributes to render.

public:
 override void AddAttributesToRender(System::Web::UI::HtmlTextWriter ^ writer, System::Web::UI::WebControls::WebControl ^ owner);
public override void AddAttributesToRender (System.Web.UI.HtmlTextWriter writer, System.Web.UI.WebControls.WebControl owner);
override this.AddAttributesToRender : System.Web.UI.HtmlTextWriter * System.Web.UI.WebControls.WebControl -> unit
Public Overrides Sub AddAttributesToRender (writer As HtmlTextWriter, owner As WebControl)

参数

writer
HtmlTextWriter

在客户端上呈现 HTML 内容的输出流。The output stream that renders HTML content to the client.

owner
WebControl

与样式关联的控件。The control associated with the style.

注解

此方法主要由控件开发人员使用。This method is primarily used by control developers.

适用于

另请参阅