CodeWF.Avalonia.TreeDataGrid 12.2.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package CodeWF.Avalonia.TreeDataGrid --version 12.2.0.1
                    
NuGet\Install-Package CodeWF.Avalonia.TreeDataGrid -Version 12.2.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CodeWF.Avalonia.TreeDataGrid" Version="12.2.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeWF.Avalonia.TreeDataGrid" Version="12.2.0.1" />
                    
Directory.Packages.props
<PackageReference Include="CodeWF.Avalonia.TreeDataGrid" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CodeWF.Avalonia.TreeDataGrid --version 12.2.0.1
                    
#r "nuget: CodeWF.Avalonia.TreeDataGrid, 12.2.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CodeWF.Avalonia.TreeDataGrid@12.2.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CodeWF.Avalonia.TreeDataGrid&version=12.2.0.1
                    
Install as a Cake Addin
#tool nuget:?package=CodeWF.Avalonia.TreeDataGrid&version=12.2.0.1
                    
Install as a Cake Tool

CodeWF.Avalonia.TreeDataGrid

社区版 TreeDataGrid.Avalonia(MIT,Avalonia 官方 TreeDataGrid 11.1.1 开源版本的社区维护分支)的增强扩展:三态排序(升/降/取消)、Ctrl+A 全选与智能 ToolTip,内置 Semi 风格主题的本地 vendor 副本(不依赖商业版);另含通用属性面板 PropertyGrid。Enhancements for the community TreeDataGrid.Avalonia control with a vendored Semi theme, plus a generic PropertyGrid control.

NuGet License

安装

dotnet add package CodeWF.Avalonia.TreeDataGrid

nuget.org 上并存现行 12.1.6.x 与已废弃的历史 12.2.x 两条版本线(后者版本号更大),浮动解析会命中旧线;请逐包精确钉版到 12.1.6.*。

依赖 TreeDataGrid.Avalonia、Semi.Avalonia、Avalonia.Controls.ColorPicker(随包自动安装);CodeWF.Avalonia.Lang 经传递引用带入。

主题接入

需先引入 Semi.Avalonia 基础主题:

<semi:SemiTheme Locale="zh-CN" />
<codewf:TreeDataGridSemiTheme />

控件命名空间保持上游的 Avalonia.Controls,XAML 中直接使用:

<avalonia:TreeDataGrid Source="{Binding Source}" />

默认增强

using CodeWF.Avalonia.TreeDataGrid;

treeDataGrid.EnableDefaults(flatSource);
能力 方法 说明
三态排序 AddSorting<T>(source) 表头点击 升序 → 降序 → 取消;取消时还原原始行序
全选 AddSelectAll<T>(source) Ctrl+A 全选,Ctrl+Shift+A 取消全选
智能 ToolTip EnableSmartTooltips() 截断单元格自动 ToolTip,可指定列

PropertyGrid

通用属性面板控件(对标 Visual Studio 属性窗口):分类/字母双视图、无限层级、搜索、描述面板与多类型编辑器,XAML 经 https://codewf.com 命名空间使用。

文档

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
12.2.52 65 11/21/2026
12.2.0.1 6 11/25/2026
12.1.6.9 58 11/21/2026
12.1.6.8 56 11/20/2026
12.1.6.5 122 11/16/2026
12.1.6.4 96 11/12/2026
12.1.6.3 97 11/11/2026
12.1.6.2 93 11/10/2026
12.1.6.1 91 11/10/2026
12.1.5.11 91 11/10/2026
12.1.5.10 97 11/10/2026
12.1.5.9 92 11/10/2026
12.1.5.8 93 11/9/2026
12.1.5.7 90 11/9/2026
12.1.5.6 96 11/9/2026
12.1.5.4 88 11/8/2026
12.1.5.3 103 11/8/2026
12.1.5.2 125 11/8/2026
12.1.5.1 102 11/8/2026
Loading failed