CodeWF.Avalonia.Dock 12.2.52

dotnet add package CodeWF.Avalonia.Dock --version 12.2.52
                    
NuGet\Install-Package CodeWF.Avalonia.Dock -Version 12.2.52
                    
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.Dock" Version="12.2.52" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeWF.Avalonia.Dock" Version="12.2.52" />
                    
Directory.Packages.props
<PackageReference Include="CodeWF.Avalonia.Dock" />
                    
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.Dock --version 12.2.52
                    
#r "nuget: CodeWF.Avalonia.Dock, 12.2.52"
                    
#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.Dock@12.2.52
                    
#: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.Dock&version=12.2.52
                    
Install as a Cake Addin
#tool nuget:?package=CodeWF.Avalonia.Dock&version=12.2.52
                    
Install as a Cake Tool

CodeWF.Avalonia.Dock

基于开源 Dock.Avalonia 的布局扩展控件与 Semi 风格主题:GridDock 布局适配、梯形文档页签与中英文本地化资源。Dock layout extensions with a Semi-styled theme on top of the open-source Dock.Avalonia.

NuGet License

安装

dotnet add package CodeWF.Avalonia.Dock

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

依赖 Dock.Avalonia 与 Dock.Avalonia.Themes.Simple(随包自动安装,不使用 Fluent 主题)。

主题接入

宿主仍需加载 Semi 基础主题提供全局控件样式:

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

主题以 Dock 官方 Dock.Avalonia.Themes.Simple 为基座,叠加 Semi 风格配色令牌与皮肤覆盖(面板圆角/描边、文档页签、工具标题栏)。自带 {x:Type Button} / {x:Type Window} 基类主题(Semi.Avalonia 12.x 不再提供这两个基类主题),因此宿主无需再引入 FluentTheme。

主要能力

组件 说明
FixedToolGridDockBehavior / GridDockLayoutAdapter 工具区固定尺寸的 GridDock 行为与布局适配
TrapezoidShapedDocumentTabStripItemBorder 文档页签梯形边框,与基础库梯形页签视觉一致
DockFactoryCommandConverter Dock 工厂命令转换器
本地化资源 zh-cn / en-us 资源字典,覆盖 Dock 内置文案

为什么保留 Dock Simple

Semi.Avalonia.Dock 是另一套 Dock 主题:免费但闭源、独立 SDK 许可,且不能代替全局 SemiTheme。本库保留 MIT 的 Dock Simple 基础模板与现有覆盖,避免给使用者新增许可要求,详见完整文档。

文档

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 100 11/21/2026
12.2.0.1 77 11/25/2026
12.1.6.9 97 11/21/2026
12.1.6.8 96 11/20/2026
12.1.6.5 118 11/16/2026
12.1.6.4 95 11/12/2026
12.1.6.3 99 11/11/2026
12.1.6.2 92 11/10/2026
12.1.6.1 94 11/10/2026
12.1.5.11 83 11/10/2026
12.1.5.10 97 11/10/2026
12.1.5.9 94 11/10/2026
12.1.5.8 94 11/9/2026
12.1.5.7 94 11/9/2026
12.1.5.6 99 11/9/2026
12.1.5.4 94 11/8/2026
12.1.5.3 98 11/8/2026
12.1.5.2 131 11/8/2026
12.1.5.1 105 11/8/2026
Loading failed