Avalonia XPF enables WPF applications to run on macOS with minimal code changes by forking the open-source WPF codebase and replacing its low-level rendering layer with Avalonia. The process involves swapping the project SDK to Xpf.Sdk, targeting .NET 6+, and adding a license key — no significant code rewrites required. Third-party controls from vendors like DevExpress, Telerik, and Syncfusion are supported. For new projects, the open-source Avalonia framework offers a WPF-like XAML/MVVM experience across Windows, macOS, Linux, iOS, Android, and browser. Avalonia XPF is a commercial product aimed at teams with existing WPF codebases who need cross-platform support without a full rewrite.

7m read timeFrom avaloniaui.net
Post cover image
Table of contents
How to run Windows Presentation Foundation (WPF) Applications on MacDoes WPF Have a Future?How to Run WPF on MacCan I use WPF Controls on Mac?WPF Alternative for MacHow to modernise a WPF app

Sort: