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
)
Not applicable.

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 Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show: