AddAttributesToRender Method (HtmlTextWriter, WebControl)
Collapse the table of content
Expand the table of content

TableStyle.AddAttributesToRender Method (HtmlTextWriter, WebControl)


This API supports the product infrastructure and is not intended to be used directly from your code.

Adds information about the background image, cell spacing, cell padding, gridlines, and alignment to the list of attributes to render.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public override void AddAttributesToRender(
	HtmlTextWriter writer,
	WebControl owner


Type: System.Web.UI.HtmlTextWriter

The output stream that renders HTML content to the client.

Type: System.Web.UI.WebControls.WebControl

The control associated with the style.

This method is primarily used by control developers.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft