With the previousDevExpress WPFLike the Win11Light theme, the Win11Light theme supports lightweight templates and standard WPF controls. The NodeDetailsVisibilityMode property controls how to display node details. At the same time, the density is not too low, allowing you to fit more data on the screen. Use the NodeDetailsTemplate property to display custom content at the bottom of a node. Set the MaxHeight property to a certain value in your GridControl, or. To avoid the exception: Use a container that limits the GridControl’s size, or. In this theme, every DevExpress WPF control is redesigned, and element spacing is also adjusted to make the UI more lightweight, which will help your application maintain the general Windows 11 look. In the case of the default value, the InfiniteGridSizeException is thrown if the GridControl’s height is infinite (for example, the grid is placed in a vertically oriented stack panel). To choose the data display format, set the GridControl. Private Sub treeviewShowingEditor(ByVal sender As Object, ByVal e As .TreeViewShowingEditorEventArgs) e.Cancel e.Node.Level 0 End Sub For more information, refer to the following help topic: Edit Data. If you bind the grid to a simple list, table, or collection, a single View is required to display this data. Bind to Data The TreeViewControl can display information in a tree from a self-referential (flat) or hierarchical data structure.
![devexpress wpf gridcontrol treeview example devexpress wpf gridcontrol treeview example](https://docs.devexpress.com/WPF/images/wpf-data-grid.png)
The new WPF Windows 11 Light Theme takes advantage of the best visual properties of Windows 11: rounded corners, an underlined editor in focus, element animation, and a balanced color palette. The Data Grid ( GridControl) is a container of Views, which display data from a bound list, table, or collection in a specific format. View Example: How to Create an Application with the TreeViewControl More information: TreeView - Get Started Tip If you want to display multi-column data, use the TreeListControl.
![devexpress wpf gridcontrol treeview example devexpress wpf gridcontrol treeview example](https://user-images.githubusercontent.com/12169834/183652084-c06f59be-8c23-4a15-be68-a2938158fa28.png)
![devexpress wpf gridcontrol treeview example devexpress wpf gridcontrol treeview example](https://www.devexpress.com/products/net/controls/winforms/tree_list/i/devexpress-winforms-treelist-data-shaping.png)