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 WinUI TreeGrid, also known as a multicolumn tree view, is a data-oriented control that displays self-relational data in a tree structure user interface. Its rich feature set includes editing with different column types; selection; data loaded on demand; and node selection with checkboxes, 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.
  • Use an unbound mode where the data is loaded on demand through events.

WinUI TreeGrid Data Binding Illustration


Editing

  • Utilize built-in column types such as text and combo box.
  • 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.

WinUI TreeGrid Editing


Built-in data error indication and validation

Validate cells and display error information based on the following validation types:

  • INotifyDataErrorInfo
  • Data annotations

Or use:

  • Cell validation
  • Row validation

WinUI TreeGrid Data Validation


Data shaping

WinUI TreeGrid Sorting

Sorting

Sort data against one or more columns with multiple customization operations. You can also sort by writing custom logic.

WinUI TreeGrid Filtering

Filtering

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


Selection

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

WinUI TreeGrid Selection


Column sizing

Column width can be adjusted (autofit) based on the content of any column or column header. All the columns can be fit within the viewport of the tree grid.


Row and column customization

WinUI TreeGrid Freeze Panes

Freeze panes

Freezes columns on the left and right sides of the grid, similar to in Excel.

WinUI 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.

WinUI TreeGrid Cell Merging

Cell merging

Dynamically merge data in adjacent cells in a row across columns and present that data in a single cell. Merge data based on content by writing your own custom logic.


Appearance style

The appearance of a WinUI TreeGrid and its inner elements, such as rows, cells, columns, and headers, can be customized.

WinUI TreeGrid Style


Context menu

The WinUI TreeGrid control 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.

WinUI TreeGrid Context Menu


Clipboard operations

The WinUI TreeGrid allows you to perform clipboard operations such as cut, copy, and paste within the control and between it and other applications such as Notepad or Excel.


Localization

Localize all the static default strings in the WinUI TreeGrid to any supported language.

WinUI TreeGrid Localization


Right to Left (RTL)

The WinUI TreeGrid supports right-to-left rendering for the users who are working in right-to-left languages like Hebrew, Arabic, or Persian.

WinUI TreeGrid Right to Left


WinUI TreeGrid Code Example

Easily get started with the WinUI TreeGrid using a few simple lines of XAML and C# code example as demonstrated below. Also explore our WinUI TreeGrid Example that shows you how to render and configure the TreeGrid in WinUI.

<Page
    x:Class="GettingStarted.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:GettingStarted"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:treeGrid="using:Syncfusion.UI.Xaml.TreeGrid"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
    <Page.DataContext>
        <local:ViewModel/>
    </Page.DataContext>
    <Grid x:Name="rootGrid">
        <treeGrid:SfTreeGrid x:Name="sfTreeGrid" />
    </Grid>
</Page>
using Syncfusion.UI.Xaml.TreeGrid;
namespace GettingStarted
{
    /// <summary>
    /// An empty page that can be used on its own or navigated to within a Frame.
    /// </summary>
    public sealed partial class MainPage : Page
    {
        public MainPage()
        {
            this.InitializeComponent();
            SfTreeGrid sfTreeGrid = new SfTreeGrid();
            rootGrid.Children.Add(sfTreeGrid);
        }
    }
}



Syncfusion WinUI DataViz & UI Controls

Frequently Asked Questions

  • Flexible data binding with support to bind any collection that implements the IEnumerable interface.
  • An unbound mode where the data is loaded on demand through events.
  • Instant loading of self-relational data and rich UI interaction.
  • 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.
  • High-performance.
  • Simple configuration and APIs.
  • Touch-friendly and responsive UI.
  • Extensive demos and documentation to learn quickly and get started with TreeGrid for WinUI.

We do not sell WinUI TreeGrid separately. It is only available for purchase as part of the Syncfusion WinUI suite, which contains an ever-growing set of native WinUI components, including TreeGrid. A single developer license for the Syncfusion Essential Studio for WinUI suite costs $795.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 WinUI TreeGrid demo here.

No, our WinUI components, including TreeGrid, are not sold individually, only as a single package. However, we have competitively priced the package 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 the WinUI components for a flat fee of $795/developer. 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, 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.

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