Indentation

This property returns and sets the width of the indentation for a Treeview control. Each new child Node object is indented by the amount specified in this property.

Syntax

object.Indentation [= number]

Parameters

object
Object expression that evaluates to a TreeView control.
number
Integer that specifies the width of indentation for each child Node.

Remarks

If you change the Indentation property at run time, the TreeView is redrawn to reflect the new width. The property value cannot be negative.