TabView.Avalonia 1.0.0

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

TabView.Avalonia

NuGet

A brand-new TabsView control that supports dragging and tearing, based on the TabbedPage control in Avalonia 12 and the Tabalonia repository. AOT compatible.

sample

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 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.

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