Avalonia.Controls.Maui.Compatibility 11.0.0-preview.2.26082.825

Prefix Reserved
This is a prerelease version of Avalonia.Controls.Maui.Compatibility.
dotnet add package Avalonia.Controls.Maui.Compatibility --version 11.0.0-preview.2.26082.825
                    
NuGet\Install-Package Avalonia.Controls.Maui.Compatibility -Version 11.0.0-preview.2.26082.825
                    
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="Avalonia.Controls.Maui.Compatibility" Version="11.0.0-preview.2.26082.825" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Avalonia.Controls.Maui.Compatibility" Version="11.0.0-preview.2.26082.825" />
                    
Directory.Packages.props
<PackageReference Include="Avalonia.Controls.Maui.Compatibility" />
                    
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 Avalonia.Controls.Maui.Compatibility --version 11.0.0-preview.2.26082.825
                    
#r "nuget: Avalonia.Controls.Maui.Compatibility, 11.0.0-preview.2.26082.825"
                    
#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 Avalonia.Controls.Maui.Compatibility@11.0.0-preview.2.26082.825
                    
#: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=Avalonia.Controls.Maui.Compatibility&version=11.0.0-preview.2.26082.825&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Avalonia.Controls.Maui.Compatibility&version=11.0.0-preview.2.26082.825&prerelease
                    
Install as a Cake Tool

Avalonia.Controls.Maui.Compatibility

Provides Avalonia-based handlers for deprecated and legacy .NET MAUI controls. This package is intended for apps migrating from Xamarin.Forms or older MAUI versions that still use controls like ListView, Frame, and TableView.

Getting Started

Install this package alongside Avalonia.Controls.Maui and register the compatibility handlers in your MauiProgram.cs. Call UseAvaloniaCompatibility() after UseAvaloniaApp():

using Avalonia.Controls.Maui;
using Avalonia.Controls.Maui.Compatibility;

public static class MauiProgram
{
    public static MauiApp CreateMauiApp()
    {
        var builder = MauiApp.CreateBuilder();
        builder
            .UseMauiApp<App>()
            .UseAvaloniaApp()
            .UseAvaloniaCompatibility();

        return builder.Build();
    }
}

Supported Controls

Control Description
Frame Legacy container with border, shadow, and corner radius
ListView Legacy list control with item templates, grouping, headers/footers, and pull-to-refresh
TableView Legacy table control for displaying data rows and settings-style forms
TextCell Cell displaying primary and secondary text
ImageCell Cell displaying an image alongside primary and secondary text
SwitchCell Cell with a label and toggle switch
EntryCell Cell with a label and text input
ViewCell Cell with a custom view template

For new development, prefer the modern MAUI equivalents (Border, CollectionView, etc.) which are handled by the core Avalonia.Controls.Maui package.

License

This project is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
11.0.0-preview.2.26082.825 27 3/23/2026
11.0.0-preview.2.26075.1512 87 3/16/2026