This documentation is archived and is not being maintained.

HtmlTextWriter Properties

The properties of the HtmlTextWriter class are listed here. For a complete list of HtmlTextWriter class members, see the HtmlTextWriter Members topic.

Public Properties

public propertyEncoding Overridden. Gets the Encoding that the HtmlTextWriter object uses to write content to the page.
public propertyFormatProvider (inherited from TextWriter) Gets an object that controls formatting.
public propertyIndent Gets or sets the number of spaces to indent at the beginning of a line of HTML.
public propertyInnerWriter Gets or sets the text writer that writes the inner content of the HTML element.
public propertyNewLine Overridden. Gets or sets the line terminator string used by the current HtmlTextWriter.

Protected Properties

protected propertyTagKey Gets or sets the HtmlTextWriterTag value for the specified HTML element.
protected propertyTagName Gets or sets the tag name of the HTML element being rendered.

See Also

HtmlTextWriter Class | System.Web.UI Namespace

Show: