Skip to content

TreeStructureStyle Property

Description

Specifies the style of lines drawn when using a hierarchical tree structure.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property TreeStructureStyle() As [XTPGridTreeStructureStyle](XtremeGridControl~Enumerations~XTPGridTreeStructureStyle_EN.md)

Remarks

A line using the specified style will be drawn from the parent node to each child node in the tree structure.

Example

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