Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HtmlTextWriter Properties

(see also Protected Properties )
  Name Description
Public property Encoding Overridden.
Gets the encoding that the HtmlTextWriter object uses to write content to the page.
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 Overridden.
Gets or sets the line terminator string used by the HtmlTextWriter object.

  Name Description
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.

Community Additions

© 2015 Microsoft