The WPF Tree Grid control is a data-oriented control that displays self-relational data in a tree structure user interface like multicolumn treeview. Data can be loaded on demand. Items can be moved between parent nodes using the built-in row drag-and-drop functionality. Its rich feature set includes editing with different column types, selection, and node selection with check boxes, sorting, and filtering.
Validate cells and display error information based on the following validation types: IDataErrorInfo, INotifyDataErrorInfo, Data Annotations. Or use cell, row, or column validation.
Sort data against one or more columns with multiple customization operations in WPF Treegrid. Sort also by writing custom logic.
Filter nodes using an intuitive, built-in, Excel-inspired filtering UI or programmatically with various filter-level options in WPF Treegrid.
Users can perform row-based selection with extensive support for keyboard navigation. Users can also select rows using intuitive check boxes.
Column width can be adjusted (auto fitted) based on the content of a column or column header. Fit all the columns within the viewport of a treegrid in WPF.
Freeze columns at left and right positions, similar to Excel.
Stacked headers (column header span) allow users to show unbound header rows. They span the stacked header columns across multiple rows and columns.
Merge data in adjacent cells dynamically and present that data in a single cell. Merge data also write custom logic to merge data.
The appearance of a WPF Tree list and its inner elements, such as rows, cells, columns, headers can be customized.
The WPF Tree list Drag and drop rows within a control or between controls using an intuitive row drag and drop UI.
The WPF TreeGrid control with rich UI provides an entirely custom context menu to expose functionality on the user interface. Users can create context menus for different rows such as record rows, header rows, and expander rows.
The WPF Tree Grid view perform clipboard operations such as cut, copy, and paste within a control and between other applications such as Notepad or Excel.
An easy and flexible way to use all the necessary properties and commands of a WPF tree grid view in MVVM approach.
Localize all the static default strings in the WPF treegrid to any desired language.
Allows display of text in the right to left (RTL) direction for users working with languages like Hebrew, Arabic, or Persian.
Easily get started with the WPF TreeGrid using a few simple lines of XAML and C# code example as demonstrated below. Also explore our WPF TreeGrid Example that shows you how to render and configure the XAML TreeGrid.
<Window x:Class="NestedCollectionDemo.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:NestedCollectionDemo"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
Title="MainWindow"
Width="525"
Height="350">
<Window.DataContext>
<local:ViewModel />
</Window.DataContext>
<Grid x:Name="Root_Grid">
<syncfusion:SfTreeGrid Name="treeGrid"
ChildPropertyName="Children"
ItemsSource="{Binding PersonDetails}" />
</Grid>
</Window>
using Syncfusion.UI.Xaml.TreeGrid;
namespace NestedCollectionDemo
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
SfTreeGrid treeGrid = new SfTreeGrid();
ViewModel viewModel = new ViewModel();
treeGrid.ItemsSource = viewModel.PersonDetails;
treeGrid.ChildPropertyName = "Children";
Root_Grid.Children.Add(treeGrid);
}
}
}
Syncfusion WPF TreeGrid provides the following:
We do not sell the WPF Tree Grid control separately. It is only available for purchase as part of the Syncfusion WPF suite, which contains over 100 WPF components, including Charts. A single developer license for the Syncfusion Essential Studio for WPF suite costs $995.00 USD, including one year of support and updates. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team to see if you qualify for any additional discounts.
No, our 100 WPF controls, including TreeGrid, are not sold individually, only as a single package. However, we have competitively priced the product so it only costs a little bit more than what some other vendors charge for their TreeGrid alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 100 WPF controls for a flat fee of $995/developer. On top of this, we might be able to offer additional discounts based on currently active promotions. Please contact our sales team today to see if you qualify for any additional discounts.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
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.