Indentation

Returns or sets the width of the indentation for a Treeview control. Each new child Node object is indented by this amount.

Syntax

object.Indentation[ = number ]

The parts of the Indentation property syntax are described in the following table.

Part Description
object An object expression that evaluates to an object.
number An integer specifying the width that each child Node is indented.

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.