Export (0) Print
Expand All

ChtmlTextWriter Properties

The ChtmlTextWriter type exposes the following members.

  NameDescription
Public property Encoding Gets the encoding that the HtmlTextWriter object uses to write content to the page. (Inherited from HtmlTextWriter.)
Protected property FontStack Infrastructure. Gets a collection of font information for the HTML to render. (Inherited from Html32TextWriter.)
Public property FormatProvider Gets an object that controls formatting. (Inherited from TextWriter.)
Protected property GlobalSuppressedAttributes Gets a Hashtable object of globally suppressed attributes that cannot be rendered on cHTML elements.
Public property Indent Gets or sets the number of tab positions to indent the beginning of each line of markup. (Inherited from HtmlTextWriter.)
Public property InnerWriter Gets or sets the text writer that writes the inner content of the markup element. (Inherited from HtmlTextWriter.)
Public property NewLine Gets or sets the line terminator string used by the HtmlTextWriter object. (Inherited from HtmlTextWriter.)
Protected property RecognizedAttributes Gets a Hashtable object of recognized attributes that could be rendered on cHTML elements.
Public property ShouldPerformDivTableSubstitution Gets or sets a Boolean value indicating whether to replace a Table element with a Div element to reduce the time that it takes to render a block of HTML. (Inherited from Html32TextWriter.)
Public property SupportsBold Gets or sets a Boolean value indicating whether the requesting device supports bold HTML text. Use the SupportsBold property to conditionally render bold text to the Html32TextWriter output stream. (Inherited from Html32TextWriter.)
Public property SupportsItalic Gets or sets a Boolean value indicating whether the requesting device supports italic HTML text. Use the SupportsItalic property to conditionally render italicized text to the Html32TextWriter output stream. (Inherited from Html32TextWriter.)
Protected property SuppressedAttributes Gets a Hashtable object of user-specified suppressed attributes that are not rendered on cHTML elements.
Protected property TagKey Gets or sets the HtmlTextWriterTag value for the specified markup element. (Inherited from HtmlTextWriter.)
Protected property TagName Gets or sets the tag name of the markup element being rendered. (Inherited from HtmlTextWriter.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft