SimTabBar 0.3.0

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

SimTabBar

类似 VS Code 的标签页 Avalonia 控件库。

演示截图

功能特性

  • 宽度模式 — Equal / SizeToContent / Compact / Fixed 四种标签页宽度策略
  • 标签头模板HeaderTemplate 让标签头渲染任意多元素(如状态圆点 + 标题),模板上下文为数据项,可对局部元素单独着色;TabBar.HeaderTemplate 在 ItemsSource 模式下生效
  • 关闭按钮模式 — Auto / OnPointerOver / Always 三种显示方式
  • 右键菜单 — 关闭 / 关闭其他 / 关闭全部
  • 扩展区域 — TabStrip Header / Footer 可插入自定义内容
  • 键盘导航 — Ctrl+Tab / Ctrl+Shift+Tab、Ctrl+F4(关闭)
  • 固定标签页 — 支持不可关闭的固定标签
  • 拖动排序CanReorderTabs 开启后按住标签拖动换位(实时让位空隙);TabDragStarting 可取消,TabReorderCompleted 报告结果
  • 主题支持 — 适配深色 / 浅色主题
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

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
0.3.0 98 9/6/2026
0.2.1 97 9/5/2026
0.2.0 113 7/31/2026
0.1.0 108 7/29/2026