Represents nodes that can draw hierarchical data.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public class TreeViewNode : DiagramNode, Scrollable |
Visual Basic
![]() |
---|
Public Class TreeViewNode |
The root items displayed in the node can be accessed through the RootItems property. New items can be added to and removed from the returned collection. The root items can have child items on their own and so on. For more information, refer to the TreeViewItem class.
The text and image displayed in the node caption can be customized through the Caption and CaptionImage properties respectively. The scroll position can be manipulated through ScrollPosition.
Set CustomDraw to CaptionBar and handle the DrawNode event to override the standard caption bar appearance. In this mode, the control does not render node's caption and divider line, but only runs the custom code (after drawing the node's rectangular frame).
System.Object
MindFusion.Diagramming.DiagramItem
MindFusion.Diagramming.DiagramNode
MindFusion.Diagramming.TreeViewNode
MindFusion.Diagramming Developer's Guide | © 2025 MindFusion |