System.Web.UI.Html32TextWriter.OnStyleAttributeRender Method

Determines whether to write the specified HTML style attribute and its value to the output stream.

Syntax

protected override bool OnStyleAttributeRender (string name, string value, HtmlTextWriterStyle key)

Parameters

name
The HTML style attribute to write to the output stream.
value
The value associated with the HTML style attribute.
key
The System.Web.UI.HtmlTextWriterStyle enumeration value associated with the HTML style attribute.

Returns

true if the HTML style attribute and its value will be rendered to the output stream; otherwise, false.

Remarks

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0