Majorsilence.Forms.Avalonia
26.0.33
dotnet add package Majorsilence.Forms.Avalonia --version 26.0.33
NuGet\Install-Package Majorsilence.Forms.Avalonia -Version 26.0.33
<PackageReference Include="Majorsilence.Forms.Avalonia" Version="26.0.33" />
<PackageVersion Include="Majorsilence.Forms.Avalonia" Version="26.0.33" />
<PackageReference Include="Majorsilence.Forms.Avalonia" />
paket add Majorsilence.Forms.Avalonia --version 26.0.33
#r "nuget: Majorsilence.Forms.Avalonia, 26.0.33"
#:package Majorsilence.Forms.Avalonia@26.0.33
#addin nuget:?package=Majorsilence.Forms.Avalonia&version=26.0.33
#tool nuget:?package=Majorsilence.Forms.Avalonia&version=26.0.33
Majorsilence.Forms.Avalonia
The default platform backend for Majorsilence.Forms, built on Avalonia 12.
Majorsilence.Forms draws all of its own controls with SkiaSharp; this package is the host underneath — it creates native windows, runs the message loop, delivers input, and presents the Skia surface. It is what makes a Majorsilence.Forms app actually open a window.
Install
dotnet add package Majorsilence.Forms
dotnet add package Majorsilence.Forms.Avalonia
That's the entire setup. The backend is discovered automatically when this package is referenced, so there is nothing to configure:
using Majorsilence.Forms;
internal static class Program
{
[STAThread]
private static void Main () => Application.Run (new MainForm ());
}
Platforms
| Target | Notes |
|---|---|
| Windows · macOS · Linux | The default. Native windowing, plus a real native-engine WebView control. |
| Browser (WebAssembly) | Ships as a net10.0-browser target, selected automatically by a browser-wasm head project. |
| Android | Opt-in net10.0-android target. Requires the android workload. Early — builds and boots, but less exercised than desktop. |
| iOS | Opt-in net10.0-ios target. Requires a Mac with the ios workload. Unverified beyond CI compilation — expect a first-build shakeout. |
Android and iOS are extra target rows rather than unconditional ones, because those workloads are
required just to compile against them. A normal desktop dotnet build never needs either workload.
Because Avalonia ships its own Android, iOS, and Browser targets, this backend is a path to mobile and
web on its own — not only a desktop backend. Majorsilence.Forms.Uno
is the alternative route.
Touch and gestures
Multi-touch pinch/zoom/rotate, swipe, flick/momentum scrolling, and long-press are wired through this
backend to the neutral Control.Pinch / Swipe / ScrollGesture / LongPress events. Long-press
opens a ContextMenuStrip where one is set, and a drag over a scrollable panel pans it. Mouse input is
unaffected — the underlying Avalonia gesture recognizers exclude it by construction.
Embedding in an existing Avalonia app
The reverse direction is supported too: an existing Avalonia application can host Majorsilence.Forms content inside its own visual tree, rather than letting Majorsilence.Forms own the top-level window. See Platform backends.
Links
- Documentation · Platform backends
- Repository
- Getting started
- Platform backends — the backend seam, and how to write your own
- Samples —
Gallery.Avalonia,Gallery.Wasm,Gallery.Android,Gallery.iOS
Licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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-browser1.0 is compatible. 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.1.0)
- Avalonia.Controls.WebView (>= 12.0.1)
- Avalonia.Desktop (>= 12.1.0)
- Avalonia.Skia (>= 12.1.0)
- Majorsilence.Forms (>= 26.0.33)
-
net10.0-browser1.0
- Avalonia (>= 12.1.0)
- Avalonia.Browser (>= 12.1.0)
- Avalonia.Skia (>= 12.1.0)
- Majorsilence.Forms (>= 26.0.33)
-
net8.0
- Avalonia (>= 12.1.0)
- Avalonia.Controls.WebView (>= 12.0.1)
- Avalonia.Desktop (>= 12.1.0)
- Avalonia.Skia (>= 12.1.0)
- Majorsilence.Forms (>= 26.0.33)
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 |
|---|---|---|
| 26.0.33 | 0 | 8/25/2026 |
| 26.0.32 | 73 | 8/19/2026 |
| 26.0.31 | 91 | 8/17/2026 |
| 26.0.30 | 96 | 8/13/2026 |
| 26.0.29 | 99 | 8/8/2026 |
| 26.0.28 | 98 | 8/7/2026 |
| 26.0.27 | 90 | 8/6/2026 |
| 26.0.26 | 95 | 8/4/2026 |
| 26.0.25 | 101 | 8/1/2026 |
| 26.0.24 | 106 | 7/23/2026 |
| 26.0.23 | 106 | 7/14/2026 |
| 26.0.22 | 109 | 7/9/2026 |
| 26.0.18 | 105 | 7/7/2026 |
| 26.0.0 | 125 | 7/3/2026 |