TableItemStyle.AddAttributesToRender Method (HtmlTextWriter, WebControl)


Adds information about horizontal alignment, vertical alignment, and wrap 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 that the style refers to.

The AddAttributesToRender method is used primarily by control developers to insert additional attributes and styles in the HtmlTextWriter output stream for the TableItemStyle. The AddAttributesToRender method overrides the AddAttributesToRender method.

.NET Framework
Available since 1.1
Return to top