property Surface.IndentX as Long
Specifies the child elements indentation on x-axis.

TypeDescription
Long A Long expression that specifies the child elements indentation on x-axis.
By default, the IndentX is 24 pixels. Use the IndentX property to specify the indentation between child and parent elements on x-axis. The IndentY property specifies the indentation between children and parent elements on y-axis. The Insert method add programmatically a child element. The Expanded property expands or collapse the parent element.

The following screen shot shows the tree using the default values for IndentX(24), IndentY(2) properties:

The following screen shot shows the tree using the IndentX(0), IndentY(0) properties:

The following screen shot shows the tree using the IndentX(-24), IndentY(2) properties: