This documentation is archived and is not being maintained.

HtmlTextWriter Properties

The HtmlTextWriter type exposes the following members.

Public property Encoding Gets the encoding that the HtmlTextWriter object uses to write content to the page. (Overrides TextWriter.Encoding.)
Public property FormatProvider Gets an object that controls formatting. (Inherited from TextWriter.)
Public property Indent Gets or sets the number of tab positions to indent the beginning of each line of markup.
Public property InnerWriter Gets or sets the text writer that writes the inner content of the markup element.
Public property NewLine Gets or sets the line terminator string used by the HtmlTextWriter object. (Overrides TextWriter.NewLine.)
Protected property TagKey Gets or sets the HtmlTextWriterTag value for the specified markup element.
Protected property TagName Gets or sets the tag name of the markup element being rendered.