Plugin.Maui.MVVMExpress.Navigation 0.4.0-preview

This is a prerelease version of Plugin.Maui.MVVMExpress.Navigation.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Plugin.Maui.MVVMExpress.Navigation --version 0.4.0-preview
                    
NuGet\Install-Package Plugin.Maui.MVVMExpress.Navigation -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.Navigation" 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.Navigation" Version="0.4.0-preview" />
                    
Directory.Packages.props
<PackageReference Include="Plugin.Maui.MVVMExpress.Navigation" />
                    
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.Navigation --version 0.4.0-preview
                    
#r "nuget: Plugin.Maui.MVVMExpress.Navigation, 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.Navigation@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.Navigation&version=0.4.0-preview&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Plugin.Maui.MVVMExpress.Navigation&version=0.4.0-preview&prerelease
                    
Install as a Cake Tool

Plugin.Maui.MVVMExpress.Navigation

Shell and page navigation hosts for MVVMExpress: map a ViewModel type to a Shell route or a Page.

NuGet

INavigator, IPageNavigator, GuardedNavigator, and the URI stack live in Core. This package is MauiShellNavigator and MauiPageNavigator.

var shell = new MauiShellNavigator()
    .Map<ProductListViewModel>("//products")
    .Map<ProductDetailsViewModel>("details");

await shell.NavigateToAsync<ProductDetailsViewModel, ProductId>(new(42));
await shell.NavigateToAsync("details", new Dictionary<string, object> { ["ProductId"] = 42 });

var pages = new MauiPageNavigator(new WindowContext("main"), services)
    .Map<PageStackViewModel, PageStackPage>("stack")
    .Map<PageStackItemViewModel, PageStackItemPage>("stack-item");

await pages.NavigateToAsync("stack-item", new Dictionary<string, object> { ["Title"] = "Latte" });
await pages.PopToRootAsync();

Typed args become a query string via NavigationRouteTable.FormatQuery. INavigator.Stack / CanGoBack / ReplaceAsync / ResetAsync track the URI stack. Register one navigator per IWindowContext with WindowNavigatorRegistry.

Install

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

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

Register INavigator as GuardedNavigator wrapping MauiShellNavigator, and IPageNavigator as MauiPageNavigator, in the MAUI app (see the sample).

Prefer Prism.Maui if you need regions. Product docs: repository README. 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.0.2 0 9/7/2026
1.0.1 48 9/6/2026
1.0.0 44 9/2/2026
0.6.1-preview 42 9/1/2026
0.6.0-preview 42 9/1/2026
0.5.0-preview 40 9/1/2026
0.4.0-preview 40 9/1/2026
0.3.0-preview 45 9/1/2026
0.1.1-preview 46 8/31/2026
0.1.0-preview 52 8/31/2026

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