TcxCustomShellTreeView.Indent Property
Specifies the horizontal indent between parent and child nodes.
Declaration
property Indent: Integer read; write;
Property Value
Type |
---|
Integer |
Remarks
Use the Indent
property to change the indent between parent nodes and their children. The indent is set in pixels. Note that changing the Indent
property also affects the position of first level nodes.
The images below show the same tree view control with the Indent
property set to 19
and 30
. Note the change of the horizontal offset between nodes at different levels.
The Indent
property cannot be set to a value less than 19
.
Note
If the ShowRoot property is set to False
(expand buttons and tree lines are not displayed for root nodes), the Indent
property doesn’t affect the offset of root level nodes from the left edge of the control. The contents of root level nodes are always aligned to left in this instance.