- Add the
Avalonia.Controls.TreeDataGrid
NuGet package to your project - Add the
TreeDataGrid
theme to yourApp.xaml
file (theStyleInclude
in the following markup):
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="AvaloniaApplication.App">
<Application.Styles>
<FluentTheme/>
<StyleInclude Source="avares://Avalonia.Controls.TreeDataGrid/Themes/Fluent.axaml"/>
</Application.Styles>
</Application>