The WinUI TreeView control is a hierarchical list view that represents hierarchical data in a tree-like structure with expand and collapse node options. The control provides an optimized reuse strategy, smooth scrolling experience, and virtualization. It makes illustrating an office hierarchy, organizational structure, or nested relationships in an application easy. The control’s performance is enhanced with features like data binding, unbound node population, template selector, drag and drop, selection with different selection modes, complete UI customization, and commands for MVVM.
Use both ItemsSource binding and unbound node population. Easily customize the TreeView control as a navigation control by populating nodes in the unbound mode. In addition, all the properties and commands of the WinUI TreeView can be used in the MVVM pattern.
Load huge amounts of data dynamically with a loading indicator, which improves the control’s performance.
Customize an entire tree’s nodes by hosting any image or custom view using a template and also customize each node through dynamic selection of the UI using a data template selector.
Provides animation support when expanding or collapsing the TreeView nodes.
Add check boxes to each tree node and check or clear the corresponding node. It provides built-in support for recursive checking between parent and child nodes. Recursive checking is the process where the check/uncheck state of a child node is decided based on the parent when users interact with parent node and vice versa.
Shows a context flyout when a node is long pressed or right clicked. Use the built-in commands to handle the context flyout, edit a node, and delete one or more selected nodes.
Use a customizable expander UI, including size customization, for creating an elegant look and feel.
Specify the required indentation space for child nodes in the WinUI TreeView control.
Show a line between the tree nodes. Also, decide whether lines should be drawn between the tree nodes at the root of the TreeView control.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.