BinToss.GroupBox.Avalonia 1.2.0

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

<div align="center"> <div> <img src="./README.Banner.svg" align="center" alt="SVG replication of GroupBox border and header" style="height: 12em;" /> <div style=" transform: translateY(-105px); height: 0"> <div> <a href="https://github.com/semantic-release/semantic-release"> <img alt="semantic-release: conventionalcommits" src="https://img.shields.io/badge/semantic--release-conventionalcommits-e10079?logo=semantic-release" /> </a> <a href="https://github.com/AvaloniaUI/Avalonia"> <img calt="avalonia" src="https://img.shields.io/badge/avalonia-v11.*-8b44ac?logo=avaloniaui" /> </a> </div> <div> <a href="https://github.com/BinToss/GroupBox.Avalonia/actions/workflows/ci.yml"> <img alt="CI" src="https://github.com/BinToss/GroupBox.Avalonia/actions/workflows/ci.yml/badge.svg" /> </a> <a href="https://github.com/BinToss/GroupBox.Avalonia/actions/workflows/release.yml"> <img alt="Release" src="https://github.com/BinToss/GroupBox.Avalonia/actions/workflows/release.yml/badge.svg" /> </a> </div> <div> <a href="https://www.nuget.org/packages/BinToss.GroupBox.Avalonia/"> <img alt="latest" src="https://img.shields.io/nuget/v/BinToss.GroupBox.Avalonia" /> </a> <a href="https://www.nuget.org/packages/BinToss.GroupBox.Avalonia/#versions-body-tab"> <img calt="prerelease" src="https://img.shields.io/nuget/vpre/BinToss.GroupBox.Avalonia?label=nuget%20(prerelease)" /> </a> </div> </div> </div> </div>

GroupBox.Avalonia

</p>

Another attempt to recreate the GroupBox control for AvaloniaUI.

Based on @derekantrican's Classic and Modern GroupBox examples at [GroupBox] Missing · Issue #823 · AvaloniaUI/Avalonia.

When this library is production-ready, its themes/styles may be pull-requested to teast/Avalonia.GroupBox. Otherwise, someone else will need to maintain this project.

GroupBox.Avalonia.Sample_Dark.png GroupBox.Avalonia.Sample_Light.png

Known Issues

  • Sample app re-distributes the checkbox labels...weirdly.

Usage

  1. Add the package: https://www.nuget.org/packages/BinToss.GroupBox.Avalonia/

    dotnet add package BinToss.GroupBox.Avalonia
    
  2. In an AXAML/XAML file, add the following xmlns statement: xmlns:gb="using:GroupBox.Avalonia.Controls". I used ctrl in the sample project, but other projects should use gb. https://github.com/BinToss/GroupBox.Avalonia/blob/5515704496a0103200733b788bcfcad1c1ce5ea1/GroupBox.Avalonia.Sample/Views/MainView.axaml#L1-L5

  3. Add a basic GroupBox via <gb:GroupBox/> https://github.com/BinToss/GroupBox.Avalonia/blob/5515704496a0103200733b788bcfcad1c1ce5ea1/GroupBox.Avalonia.Sample/Views/MainView.axaml#L25-L31

    For its contents, you should use a Panel-based Control such as Grid or StackPanel. It's a GroupBox, after all.

  4. (Optional) To use the "classic" theme replicating Windows' classic GroupBox, use Theme="{StaticResource GroupBoxClassic}" https://github.com/BinToss/GroupBox.Avalonia/blob/5515704496a0103200733b788bcfcad1c1ce5ea1/GroupBox.Avalonia.Sample/Views/MainView.axaml#L16-L18


For more info, see GroupBox.Avalonia.Sample.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on BinToss.GroupBox.Avalonia:

Package Downloads
BestChat.Platform.UI.Desktop

Package Description

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on BinToss.GroupBox.Avalonia:

Repository Stars
MeltyPlayer/MeltyTool
Multitool for viewing/extracting assets from various N64/GCN/3DS/PC games en-masse.
f-shake/ArchiveMaster
一套协助用户对文件进行处理、管理、备份、同步的工具集;A toolkit designed to assist users in processing, managing, backing up, and synchronizing files.
Version Downloads Last Updated
1.2.0 248 2/7/2026
1.2.0-alpha.47 58 2/6/2026
1.2.0-alpha.46 52 2/6/2026
1.2.0-alpha.24 56 1/31/2026
1.2.0-alpha.17 52 1/30/2026
1.2.0-alpha.16 57 1/21/2026
1.1.1 101 2/7/2026
1.0.0 9,551 3/18/2024
1.0.0-alpha.153 130 3/18/2024
0.2.0-alpha.145 122 3/17/2024