Majorsilence.Forms.Avalonia
26.11.15
dotnet add package Majorsilence.Forms.Avalonia --version 26.11.15
NuGet\Install-Package Majorsilence.Forms.Avalonia -Version 26.11.15
<PackageReference Include="Majorsilence.Forms.Avalonia" Version="26.11.15" />
<PackageVersion Include="Majorsilence.Forms.Avalonia" Version="26.11.15" />
<PackageReference Include="Majorsilence.Forms.Avalonia" />
paket add Majorsilence.Forms.Avalonia --version 26.11.15
#r "nuget: Majorsilence.Forms.Avalonia, 26.11.15"
#:package Majorsilence.Forms.Avalonia@26.11.15
#addin nuget:?package=Majorsilence.Forms.Avalonia&version=26.11.15
#tool nuget:?package=Majorsilence.Forms.Avalonia&version=26.11.15
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-android36.0 is compatible. net10.0-browser was computed. net10.0-browser1.0 is compatible. net10.0-ios was computed. net10.0-ios26.0 is compatible. 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.1)
- Avalonia.Controls.WebView (>= 12.0.1)
- Avalonia.Desktop (>= 12.1.1)
- Avalonia.Skia (>= 12.1.1)
- Majorsilence.Forms (>= 26.11.15)
-
net10.0-android36.0
- Avalonia (>= 12.1.1)
- Avalonia.Android (>= 12.1.1)
- Avalonia.Skia (>= 12.1.1)
- Majorsilence.Forms (>= 26.11.15)
-
net10.0-browser1.0
- Avalonia (>= 12.1.1)
- Avalonia.Browser (>= 12.1.1)
- Avalonia.Skia (>= 12.1.1)
- Majorsilence.Forms (>= 26.11.15)
-
net10.0-ios26.0
- Avalonia (>= 12.1.1)
- Avalonia.iOS (>= 12.1.1)
- Avalonia.Skia (>= 12.1.1)
- Majorsilence.Forms (>= 26.11.15)
-
net8.0
- Avalonia (>= 12.1.1)
- Avalonia.Controls.WebView (>= 12.0.1)
- Avalonia.Desktop (>= 12.1.1)
- Avalonia.Skia (>= 12.1.1)
- Majorsilence.Forms (>= 26.11.15)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Majorsilence.Forms.Avalonia:
| Package | Downloads |
|---|---|
|
Majorsilence.Reporting.RdlViewer
Cross-platform report viewer control for Majorsilence Reporting, built on Majorsilence.Forms. Embed RDL/RDLC report viewing, printing (PDF only -- see MIGRATION-NOTES.md), and export in desktop apps. Targets .NET 8 and .NET 10, any OS Majorsilence.Forms.Avalonia supports. To host it in WPF use Majorsilence.Forms.Wpf's ToWpfElement(); for System.Windows.Forms hosts use Majorsilence.Forms.WinForms's ToWinFormsControl(). |
|
|
Majorsilence.Reporting.ReportDesigner
Cross-platform drag-and-drop RDL report designer control for Majorsilence Reporting, built on Majorsilence.Forms. Targets .NET 8 and .NET 10, any OS Majorsilence.Forms.Avalonia supports. |
|
|
Majorsilence.WinformUtils
Shared utility controls used by the Majorsilence Reporting viewer and designer, built on Majorsilence.Forms (cross-platform WinForms-API-compatible framework). Targets .NET 8 and .NET 10, any OS Majorsilence.Forms.Avalonia supports. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 26.11.15 | 489 | 11/9/2026 |
| 26.11.14 | 134 | 11/6/2026 |
| 26.11.12 | 93 | 11/4/2026 |
| 26.11.11 | 111 | 10/30/2026 |
| 26.11.10 | 999 | 10/28/2026 |
| 26.11.9 | 430 | 10/22/2026 |
| 26.11.8 | 185 | 10/20/2026 |
| 26.11.7 | 206 | 10/18/2026 |
| 26.11.6 | 317 | 10/17/2026 |
| 26.11.5 | 176 | 10/14/2026 |
| 26.11.4 | 205 | 10/12/2026 |
| 26.11.3 | 370 | 10/11/2026 |
| 26.11.2 | 111 | 10/11/2026 |
| 26.11.1 | 119 | 10/10/2026 |
| 26.10.1 | 129 | 10/10/2026 |
| 26.10.0 | 120 | 10/10/2026 |
| 26.9.0 | 133 | 10/8/2026 |
| 26.8.2 | 705 | 10/6/2026 |
| 26.8.1 | 127 | 10/5/2026 |
| 26.8.0 | 181 | 10/3/2026 |