System.Web.UI.WebControls.TreeView.NodeIndent Property

Gets or sets the indentation amount (in pixels) for the child nodes of the System.Web.UI.WebControls.TreeView control.

Syntax

[System.ComponentModel.DefaultValue(20)]
public int NodeIndent { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the TreeView.NodeIndent property to control the amount of spacing between the left edge of a child node and the left edge of its parent node.

Note:

The TreeView.NodeIndent property affects every child node in the System.Web.UI.WebControls.TreeView control. It is not possible to control the indentation amount of each node individually.

The value of this property is stored in view state.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0