System.Web.UI.XhtmlTextWriter: Method Members

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

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

Public Methods

AddRecognizedAttribute(string, string)

Adds an attribute to an XHTML element. The collection of element-specific attributes for the System.Web.UI.XhtmlTextWriter object is referenced by the XhtmlTextWriter.ElementSpecificAttributes property.

override
IsValidFormAttribute(string) : bool

Checks an XHTML attribute to ensure that it can be rendered in the opening tag of a <form> element.

RemoveRecognizedAttribute(string, string)

Removes an attribute from the XhtmlTextWriter.ElementSpecificAttributes collection of an element.

SetDocType(XhtmlMobileDocType)

Specifies the XHTML document type for the text writer to render to the page or control.

override
WriteBreak()

Writes a <br/> element to the XHTML output stream.

Protected Methods

override
OnAttributeRender(string, string, HtmlTextWriterAttribute) : bool

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

override
OnStyleAttributeRender(string, string, HtmlTextWriterStyle) : bool

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