BaseTreeIndent Property
Description
Specifies the indentation placed before the text of each parent node in a hierarchical tree structure.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property BaseTreeIndent() As Boolean
Remarks
Indentation is represented in pixels.
Use TreeIndent for child indentation.
Example
Parent Indent Sample (Visual Basic)
This sample illustrates how to set the lines style of a hierarchical tree structure and shows how to change the indent of parent and child nodes.
' Parent nodes will be indented by 10 pixels
wndGridControl.PaintManager.BaseTreeIndent = 10
' When child nodes are displayed in a hierarchical tree structure, the text of the child nodes
' will be indented by 50 pixels from the parent node
wndGridControl.PaintManager.TreeIndent = 50
' Specifies that no lines will be drawn from the parent node to the child nodes
wndGridControl.PaintManager.TreeStructureStyle = xtpTreeStructureNone
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.