We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

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.


Data binding

  • Bind any hierarchical data by specifying child mapping.
  • Display self-relational data in a tree structure specifying the parent and child mappings.
  • In unbound mode data is loaded on-demand using events.

WPF treegrid data binding illustration


Editing

  • Edit cell values with intuitive editors in different column types such as datepicker, combobox and more.
  • Embed controls such as a progress bar and rating to view or edit data.
  • Commit or roll back changes when a data object implements IEditableObject .

Editing with datepicker editor in WPF treegrid


Built-in data error indication and validation

Validate cells and display error information based on the following validation types: IDataErrorInfo, INotifyDataErrorInfo, Data Annotations. Or use cell, row, or column validation.

WPF treegrid data validation


Data shaping

WPF treegrid column sorting

Sorting

Sort data against one or more columns with multiple customization operations in WPF Treegrid. Sort also by writing custom logic.

filtering in WPF treegrid

Filtering

Filter nodes using an intuitive, built-in, Excel-inspired filtering UI or programmatically with various filter-level options in WPF Treegrid.


Selection

Users can perform row-based selection with extensive support for keyboard navigation. Users can also select rows using intuitive check boxes.

WPF treegrid selection


Column sizing

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.


Row and column customization

WPF treegrid freeze columns

Freeze panes

Freeze columns at left and right positions, similar to Excel.

WPF treegrid stacked headers

Stacked headers

Stacked headers (column header span) allow users to show unbound header rows. They span the stacked header columns across multiple rows and columns.

WPF treegrid shows merged cells

Cell merging

Merge data in adjacent cells dynamically and present that data in a single cell. Merge data also write custom logic to merge data.


Appearance style

The appearance of a WPF Tree list and its inner elements, such as rows, cells, columns, headers can be customized.

Appearance style in WPF treegrid


Row drag and drop

The WPF Tree list Drag and drop rows within a control or between controls using an intuitive row drag and drop UI.

row drag and drop in WPF treegrid


Context menu

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.

WPF treegrid shows context menu


Clipboard operations

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.


MVVM

An easy and flexible way to use all the necessary properties and commands of a WPF tree grid view in MVVM approach.


Localization

Localize all the static default strings in the WPF treegrid to any desired language.

WPF treegrid localization


Right to Left (RTL)

Allows display of text in the right to left (RTL) direction for users working with languages like Hebrew, Arabic, or Persian.

WPF treegrid right to left mode


Exporting

  • A rich set of options for exporting data to Microsoft Excel file formats, PDF, and CSV.
  • Several customization options to customize exporting operations.

WPF treegrid exporting illustration


WPF TreeGrid Code Example

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);
        }
    }    
}



100+ WPF CONTROLS

Frequently Asked Questions

Syncfusion WPF TreeGrid provides the following:

  • Flexible data binding with support to bind any collection that implements the IEnumerable interface.
  • Supports an unbound mode where the data is loaded on-demand through events.
  • Instantly load self-relational data to display in a tree structure on demand and rich UI interaction.
  • Packed with a bunch of features with customization options suitable for building complex, large-scale applications.
  • CRUD operations using various modes of editing and built-in validation rules.
  • One of the best WPF TreeGrid in the market that offers feature-rich UI to interact with the software.
  • A high-performance WPF tree datagrid.
  • Simple configuration and APIs.
  • Touch-friendly and responsive UI.
  • Extensive demos and documentation to learn quickly and get started with TreeGrid for WPF.

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.

You can find our WPF TreeGrid demo on

GitHub location.

App center location.

Microsoft location.

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.

Read independent,
authenticated reviews
on G2

Download Now Pricing

What do our customers say about us?

double quotes

I work for an electrical instruments plant. I purchased the Gantt control from Syncfusion. It has saved me many hours as well as stores our information more efficiently… now.
Marco Del Frate

Marco Del Frate

Tecnel SRL

double quotes

I am really thankful for the wonderful set of controls for WPF. I was able to deliver things on time and could focus on core business logic rather than control development.
Umair Ahmed

Umair Ahmed

Technical Lead at Vercom

Transform your applications today by downloading our free evaluation version Download Free Trial

Syncfusion WPF Resoures

Awards

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.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile