INDENT Attribute | indent Property

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

Syntax

HTML <namespace:TREEVIEW INDENT = iIndent... >
Scripting TREEVIEW.indent [ = iIndent ]

Possible Values

namespace Prefix that associates a custom tag with an XML namespace. This prefix is set using the XMLNS attribute of the html tag.
iIndent Integer that specifies or receives whether to display an image next to the name of parent nodes.
19
Default. 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