Plugin.Maui.MVVMExpress.Dialogs 0.4.0-preview

This is a prerelease version of Plugin.Maui.MVVMExpress.Dialogs.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Plugin.Maui.MVVMExpress.Dialogs --version 0.4.0-preview
                    
NuGet\Install-Package Plugin.Maui.MVVMExpress.Dialogs -Version 0.4.0-preview
                    
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="Plugin.Maui.MVVMExpress.Dialogs" Version="0.4.0-preview" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Plugin.Maui.MVVMExpress.Dialogs" Version="0.4.0-preview" />
                    
Directory.Packages.props
<PackageReference Include="Plugin.Maui.MVVMExpress.Dialogs" />
                    
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 Plugin.Maui.MVVMExpress.Dialogs --version 0.4.0-preview
                    
#r "nuget: Plugin.Maui.MVVMExpress.Dialogs, 0.4.0-preview"
                    
#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 Plugin.Maui.MVVMExpress.Dialogs@0.4.0-preview
                    
#: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=Plugin.Maui.MVVMExpress.Dialogs&version=0.4.0-preview&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Plugin.Maui.MVVMExpress.Dialogs&version=0.4.0-preview&prerelease
                    
Install as a Cake Tool

Plugin.Maui.MVVMExpress.Dialogs

MAUI DisplayAlert and toast adapter for MVVMExpress. ViewModels depend on IDialogs / INotifier, not Page.

NuGet

public sealed class EditViewModel : ViewModel
{
    private readonly IDialogs _dialogs;
    private readonly INotifier _notifier;
    public EditViewModel(IDialogs dialogs, INotifier notifier)
    {
        _dialogs = dialogs;
        _notifier = notifier;
    }

    public async Task ConfirmDeleteAsync()
    {
        if (await _dialogs.ConfirmAsync("Delete", "Remove this item?"))
            await DeleteAsync();
        await _notifier.ToastAsync("Deleted");
    }
}

Register MauiDialogs as IDialogs and MauiNotifier as INotifier in the MAUI host. Tests use NullDialogs (Core) or FakeDialogs (Testing). Inject IToastPresenter to record toasts without a window.

Install

dotnet add package Plugin.Maui.MVVMExpress.Dialogs --prerelease

Target frameworks: net10.0, net10.0-android (API 21+), net10.0-ios (iOS 15+). Requires the host package. Version 0.4.0-preview.

MauiDialogs and MauiNotifier resolve the current page from IWindowContext (Shell first, then the window's page).

Product docs: repository README. Alternatives: CommunityToolkit.Maui popups, Prism dialogs. License: MIT.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-android36.0 is compatible.  net10.0-browser was computed.  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. 
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
1.3.0 6 9/8/2026
1.0.2 49 9/7/2026
1.0.1 63 9/6/2026
1.0.0 53 9/2/2026
0.6.1-preview 52 9/1/2026
0.6.0-preview 50 9/1/2026
0.5.0-preview 53 9/1/2026
0.4.0-preview 48 9/1/2026
0.3.0-preview 49 9/1/2026
0.1.1-preview 45 8/31/2026
0.1.0-preview 55 8/31/2026

0.4.0-preview: page host, URI stack, dictionary/URI args, multi-window root, MauiNotifier toast.