Skip to content

TreeIndent Property

Description

Specifies the indentation placed before the text of each child node in a hierarchical tree structure.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property TreeIndent() As Long

Remarks

Indentation is represented in pixels.

Use BaseTreeIndent for parent indentation.

Example

TreeIndent 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 child nodes.

' 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.