System.Web.UI.HtmlTextWriter.Indent Property

Gets or sets the number of tab positions to indent the beginning of each line of markup.

Syntax

public int Indent { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Indentation is performed by writing the string that is specified by the tabString parameter of the HtmlTextWriter.#ctor(System.IO.TextWriter, string) constructor the number of times that are specified by the HtmlTextWriter.Indent property.

If the HtmlTextWriter.Indent property is set to a negative value, it is changed to 0 before being saved.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0