Avalonia.Controls.Maui.Essentials
11.0.0-preview.2.26082.825
Prefix Reserved
dotnet add package Avalonia.Controls.Maui.Essentials --version 11.0.0-preview.2.26082.825
NuGet\Install-Package Avalonia.Controls.Maui.Essentials -Version 11.0.0-preview.2.26082.825
<PackageReference Include="Avalonia.Controls.Maui.Essentials" Version="11.0.0-preview.2.26082.825" />
<PackageVersion Include="Avalonia.Controls.Maui.Essentials" Version="11.0.0-preview.2.26082.825" />
<PackageReference Include="Avalonia.Controls.Maui.Essentials" />
paket add Avalonia.Controls.Maui.Essentials --version 11.0.0-preview.2.26082.825
#r "nuget: Avalonia.Controls.Maui.Essentials, 11.0.0-preview.2.26082.825"
#:package Avalonia.Controls.Maui.Essentials@11.0.0-preview.2.26082.825
#addin nuget:?package=Avalonia.Controls.Maui.Essentials&version=11.0.0-preview.2.26082.825&prerelease
#tool nuget:?package=Avalonia.Controls.Maui.Essentials&version=11.0.0-preview.2.26082.825&prerelease
Avalonia.Controls.Maui.Essentials
Avalonia.Controls.Maui.Essentials provides Avalonia-based implementations of Microsoft.Maui.Essentials APIs. Internally, it generally uses Avalonia APIs for accessing services, unless they don't exist or are specific to platforms where that would not be applicable.
Setup
Call UseAvaloniaEssentials() on your MauiAppBuilder:
var builder = MauiApp.CreateBuilder();
builder
.UseMauiApp<App>()
.UseAvaloniaApp()
.UseAvaloniaEssentials();
Implemented APIs
| API | Namespace | Status | Notes |
|---|---|---|---|
| Screenshot | Microsoft.Maui.Media |
Implemented | Full support. Note: Always outputs PNG regardless of requested format. |
| FilePicker | Microsoft.Maui.Storage |
Implemented | Full support for single and multi-file selection. MIME types and UTIs are converted to glob patterns where possible. |
| MediaPicker | Microsoft.Maui.Media |
Partial | Photo and video picking is supported. Camera capture (CapturePhotoAsync/CaptureVideoAsync) throws NotSupportedException. |
| FileSystem | Microsoft.Maui.Storage |
Implemented | CacheDirectory, AppDataDirectory, and app package file access via Avalonia's avares:// asset loader. |
| HapticFeedback | Microsoft.Maui.Devices |
Stub | IsSupported returns false. Perform() is a no-op. Haptic feedback is not available on desktop platforms. |
| Preferences | Microsoft.Maui.Storage |
Implemented | Full support for all types (string, int, bool, long, double, float, DateTime, DateTimeOffset). Persists to a JSON file. Supports shared containers. |
Not Implemented APIs
For APIs that have not been implemented in Microsoft.Maui.Essentials APIs, they will fall back to the default .NET MAUI standard implementations. These will most likely throw NotImplementedException as most of them are platform specific implementations. We are adding more support for the areas we can cover.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. net11.0-browser1.0 is compatible. |
-
net11.0
- Avalonia (>= 12.0.0-rc1)
- Avalonia.Controls.WebView (>= 12.0.0-rc1)
- Microsoft.Maui.Core (>= 11.0.0-preview.2.26152.10)
-
net11.0-browser1.0
- Avalonia (>= 12.0.0-rc1)
- Avalonia.Controls.WebView (>= 12.0.0-rc1)
- Microsoft.Maui.Core (>= 11.0.0-preview.2.26152.10)
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 | 4 | 3/23/2026 |
| 11.0.0-preview.2.26075.1512 | 111 | 3/16/2026 |