TabView.Avalonia
1.0.0
dotnet add package TabView.Avalonia --version 1.0.0
NuGet\Install-Package TabView.Avalonia -Version 1.0.0
<PackageReference Include="TabView.Avalonia" Version="1.0.0" />
<PackageVersion Include="TabView.Avalonia" Version="1.0.0" />
<PackageReference Include="TabView.Avalonia" />
paket add TabView.Avalonia --version 1.0.0
#r "nuget: TabView.Avalonia, 1.0.0"
#:package TabView.Avalonia@1.0.0
#addin nuget:?package=TabView.Avalonia&version=1.0.0
#tool nuget:?package=TabView.Avalonia&version=1.0.0
TabView.Avalonia
A brand-new TabsView control that supports dragging and tearing, based on the TabbedPage control in Avalonia 12 and the Tabalonia repository. AOT compatible.
Usage
Install the package from NuGet:
Install-Package TabView.Avalonia
# Or 'dotnet add package TabView.Avalonia'
Add the Style to your App.axaml:
<Application xmlns:tabView="using:TabView.Avalonia">
...
<Application.Styles>
...
<tabView:TabsViewTheme />
</Application.Styles>
<Application />
And use the control just like TabbedPage:
<tabView:TabsView>
<ContentPage Header="Tab 1" />
<ContentPage Header="Tab 2" />
<ContentPage Header="Tab 3" />
</tabView:TabsView>
But if you want to support AOT, you need to override the TabsView.InterTabController property and implement the IInterTabClient interface, like this:
MyTabsView.InterTabController = new InterTabController { InterTabClient = new AotInterTabClient() };
private sealed class AotInterTabClient : IInterTabClient
{
public TabsHost GetNewHost(InterTabController controller, TabsHost host)
{
var window = new MainWindow { Owner = host.Window };
return new TabsHost(window, window.MyTabsView);
}
}
To disable tearing, you can set the TabsView.InterTabController property to null:
MyTabsView.InterTabController = null;
| Product | Versions 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. |
-
net10.0
- Avalonia (>= 12.0.5)
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 |
|---|---|---|
| 1.0.0 | 455 | 6/30/2026 |