System.Web.UI.ChtmlTextWriter Members

The members of System.Web.UI.ChtmlTextWriter are listed below.

See Also: Inherited members from System.Web.UI.Html32TextWriter

Public Constructors

Initializes a new instance of the System.Web.UI.ChtmlTextWriter class that uses the HtmlTextWriter.DefaultTabString constant to indent lines.

Initializes a new instance of the System.Web.UI.ChtmlTextWriter class with the specified line indentation.

Protected Properties

[read-only]
GlobalSuppressedAttributesHashtable.

Gets a Hashtable object of globally suppressed attributes that cannot be rendered on cHTML elements.

[read-only]
RecognizedAttributesHashtable.

Gets a Hashtable object of recognized attributes that could be rendered on cHTML elements.

[read-only]
SuppressedAttributesHashtable.

Gets a Hashtable object of user-specified suppressed attributes that are not rendered on cHTML elements.

Public Methods

AddRecognizedAttribute(string, string)

Adds an attribute to a cHTML element of the System.Web.UI.ChtmlTextWriter object.

RemoveRecognizedAttribute(string, string)

Removes an attribute of a cHTML element of the System.Web.UI.ChtmlTextWriter object.

override
WriteBreak()

Writes a br element to the cHTML output stream.

override
WriteEncodedText(string)

Encodes the specified text for the requesting device, and then writes it to the output stream.

Protected Methods

override
OnAttributeRender(string, string, HtmlTextWriterAttribute) : bool

Determines whether the specified cHTML attribute and its value are rendered to the requesting page. You can override the ChtmlTextWriter.OnAttributeRender(string, string, HtmlTextWriterAttribute) method in classes that derive from the System.Web.UI.ChtmlTextWriter class to filter out attributes that you do not want to render on devices that support cHTML.

override
OnStyleAttributeRender(string, string, HtmlTextWriterStyle) : bool

Determines whether the specified cHTML markup style attribute and its value can be rendered to the current markup element.

override
OnTagRender(string, HtmlTextWriterTag) : bool

Determines whether the specified cHTML markup element is rendered to the requesting page.