INDENT Attribute | Indent Property

Sets or retrieves the number of pixels to indent children in relation to the parent node.

Syntax

ASP <tagPrefix:TREEVIEW INDENT = iIndent ... >
Script [ iIndent = ] TREEVIEW.Indent

Possible Values

tagPrefix Required. The element prefix associated with the WebControls namespace (Microsoft.Web.UI.WebControls). A TagPrefix is defined using the directive.
iIndent System.Int32 that specifies or receives the number of pixels to indent children in relation to the parent node.
19Default. The number of pixels to indent children in relation to the parent node.

The property is read/write. The property has a default value of 19.

Remarks

When the ShowLines property is set to true, the Indent property has no effect on the tree.

Applies To

TREEVIEW

See Also

Internet Explorer WebControls, About the TreeView WebControl