Majorsilence.Forms.Wpf 26.0.52

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

Majorsilence.Forms.Wpf

The WPF (System.Windows) platform backend for Majorsilence.Forms — run a cross-platform WinForms-style app on a real WPF Window, or embed Majorsilence.Forms controls inside an existing WPF application one control at a time.

Majorsilence.Forms draws all of its own controls with SkiaSharp; this package is the host underneath — a real WPF Window, the WPF Dispatcher message loop, the Microsoft.Win32 file dialogs and System.Windows.Clipboard — with the Skia surface presented through a WriteableBitmap. It is the WPF counterpart of Majorsilence.Forms.Avalonia, Majorsilence.Forms.Uno and Majorsilence.Forms.WinForms, including their embedding direction (MajorsilenceFormsPresenter, ToWpfElement(), ToWpfWindow()).

Windows-only at runtime, like WPF itself.

Target frameworks: net48 (classic .NET Framework 4.8 — pairs with the netstandard2.0 build of Majorsilence.Forms), plus net8.0-windows and net10.0-windows for modern .NET.

Install

dotnet add package Majorsilence.Forms
dotnet add package Majorsilence.Forms.Wpf
// Program.cs — Majorsilence.Forms owns the app
[STAThread]
static void Main ()
{
    Majorsilence.Forms.Backends.Platform.Backend = new Majorsilence.Forms.Wpf.WpfPlatformBackend ();
    Majorsilence.Forms.Application.Run (new MainForm ());
}

Or embed in an existing WPF app:

myWpfGrid.Children.Add (myMfControl.ToWpfElement ());
// or set MajorsilenceFormsPresenter.Content directly

Why: migration in steps

  • A WPF app can keep its shell and windows on WPF while individual screens move to Majorsilence.Forms — each ported piece drops back in as a standard WPF FrameworkElement.
  • When everything is ported, swap this package for Majorsilence.Forms.Avalonia or Majorsilence.Forms.Uno and the same code goes cross-platform. Nothing above the backend seam changes.
Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed.  net10.0-windows7.0 is compatible. 
.NET Framework net48 is compatible.  net481 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
26.0.52 42 9/12/2026
26.0.51 98 8/30/2026