GOZA.Dock 1.0.2

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

English | 简体中文

<p align="center"> <img src="src/GOZA.Dock/wwwroot/GOZA.png" alt="GOZA.Dock" width="320" /> </p>

GOZA.Dock

Lightweight docking layout for Avalonia — compose panels with Grid, DockRegion, and DockSplitter. Works on desktop and WebAssembly.

Features

  • Flexible layout — any grid topology; no fixed quadrants or slot enums.
  • Tab drag & drop — reorder in the strip, move across regions, double-click to maximize a region.
  • Parking lot — optional view surface reuse by tab Id (WebView, heavy controls).
  • Closable tabsIDockTabItem.IsClosable; optional Add Doc button on a region.
  • Side tab strips — vertical stacked headers on left/right strips (toggle globally or per region).
  • Theme-friendly — include DockShellStyles.axaml; override drag/drop brushes via DockThemeResources.
  • MIT — no dependency on Semi, Crystal, or other UI stacks (Avalonia only).

Quick start

Run the minimal sample:

dotnet run --project samples/GOZA.Dock.Minimal.Desktop

Full demo (Crystal DI, layout save/load, closable docs): samples/GOZA.Dock.Demo.Desktop

Install the package (Avalonia 12.0.0+ required in your app):

dotnet add package GOZA.Dock --version 1.0.2

Minimal XAML:

<DockShell>
  <Grid ColumnDefinitions="*,8,*">
    <DockRegion Grid.Column="0"
                ItemsSource="{Binding LeftTabs}"
                SelectedItem="{Binding LeftSelected, Mode=TwoWay}" />
    <DockSplitter Grid.Column="1" ShowsPreview="True" />
    <DockRegion Grid.Column="2"
                ItemsSource="{Binding RightTabs}"
                SelectedItem="{Binding RightSelected, Mode=TwoWay}" />
  </Grid>
</DockShell>

Include library styles in App.axaml:

<StyleInclude Source="avares://GOZA.Dock/Themes/DockShellStyles.axaml" />

Tab items implement IDockTabItem (Id, Header, optional ReuseSurface, IsClosable). Map each tab ViewModel to a view with DataTemplate or your DI/view locator.

Documentation & demos

Resource URL
Online docs https://0use.net/GOZA.Dock/
Browser demo (WASM) https://0use.net/GOZA.Dock/demo/
Release notes docs/v1.0/release-notes.md
NuGet publish (maintainers) PUBLISHING.md

Build docs locally (requires DocFX):

docfx docfx.json && docfx serve _site --port 8080

Pushing to master triggers GitHub Pages (DocFX site + WASM demo).

Contributing

Issues and pull requests are welcome. Developer notes: DEVELOPMENT.md.

License

MIT — see LICENSE.txt.

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.2 0 6/10/2026
1.0.1 54 6/8/2026
1.0.0 94 5/29/2026

Closable tabs, vertical side-tab headers, Add Doc chrome button, vector tab icons, drag-ghost fixes for left/right strips. Requires Avalonia 12.0.0. See docs/v1.0/release-notes.md.