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:
virtual void AddAttributesToRender (
	HtmlTextWriter^ writer, 
	WebControl^ owner
) override
public void AddAttributesToRender (
	HtmlTextWriter writer, 
	WebControl owner
)
public override function AddAttributesToRender (
	writer : HtmlTextWriter, 
	owner : WebControl
)

Parameters

writer

The output stream that renders HTML content to the client.

owner

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.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

ADD
Show: