System.Web.UI.ChtmlTextWriter: Method Members

The methods of System.Web.UI.ChtmlTextWriter are listed below. For a list of all members, see the ChtmlTextWriter Members list.

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

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.