MyNet.UI 19.6.0

dotnet add package MyNet.UI --version 19.6.0
                    
NuGet\Install-Package MyNet.UI -Version 19.6.0
                    
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="MyNet.UI" Version="19.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MyNet.UI" Version="19.6.0" />
                    
Directory.Packages.props
<PackageReference Include="MyNet.UI" />
                    
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 MyNet.UI --version 19.6.0
                    
#r "nuget: MyNet.UI, 19.6.0"
                    
#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 MyNet.UI@19.6.0
                    
#: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=MyNet.UI&version=19.6.0
                    
Install as a Cake Addin
#tool nuget:?package=MyNet.UI&version=19.6.0
                    
Install as a Cake Tool

<div align="center">

MyNet.UI

<img src="MyNetUI.png" alt="MyNet.UI" width="96" height="96" />

UI-framework-agnostic presentation layer: view models, shell, dialogs, navigation, notifications, and toasts. You provide concrete UI (WPF, Avalonia, etc.).

</div>

<div align="center">

MIT License NuGet .NET

</div>


Features

Feature Description
Navigation View locators and navigation services
Dialogs Presenter abstraction and shell host patterns
Notifications Toast and notification managers for MVVM
Theming Contracts implemented by your UI host (WPF, Avalonia, etc.)

Installation

dotnet add package MyNet.UI

Quick start (DI)

using Microsoft.Extensions.DependencyInjection;
using MyNet.UI;
using MyNet.UI.Dialogs;
using MyNet.UI.Locators;

var services = new ServiceCollection();
services.AddUi(b => b
    .ConfigureViewLocators(r => r.Register(typeof(MainViewModel), typeof(MainView)))
    .ConfigureDialogs(d => d.AddPresenter<MyDialogPresenter>()));

var provider = services.BuildServiceProvider();
provider.UseUi();

Or register modules individually (AddViewLocators, AddDialogs, AddNavigation, …) — see the UI guide.

  • Dialogs: implement IDialogPresenter — see Dialogs guide
  • Notifications / toasts: bind UI to INotificationsManager.Notifications and IToastManager.Toasts — see Notifications & toasts guide for the toast overlay control
  • Shell: register ShellHostViewModel in your host
  • Navigation: implement IViewHost + middleware in your host — see Navigation guide
  • Theming: register IThemeService + IThemeBaseRegistry in the host; UseUi() configures ThemeManager when both are present — see Theming guide

Documentation



<div align="center">

<sub>

Copyright © 2016-2026 - Stéphane ANDRE. All Rights Reserved.

<br/>

Released under the MIT License.

</sub>

</div>

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  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 (2)

Showing the top 2 NuGet packages that depend on MyNet.UI:

Package Downloads
MyNet.Wpf

This library is a comprehensive class library designed to simplify the implementation of common GUI functionalities in .NET applications.

MyNet.Avalonia.UI

Custom user interface components and controls for Avalonia applications, providing a rich set of features and functionality.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
19.6.0 53 6/6/2026
19.5.2 53 6/5/2026
19.5.1 51 6/5/2026
19.5.0 51 6/5/2026
19.3.6 55 6/3/2026
19.3.5 54 6/3/2026
19.3.4 54 6/3/2026
19.3.3 55 6/2/2026
19.3.2 54 6/2/2026
19.3.1 52 6/2/2026
19.3.0 62 6/1/2026
19.2.1 55 5/31/2026
19.2.0 60 5/31/2026
19.1.0 54 5/31/2026
19.0.0 60 5/29/2026
18.0.0 121 4/16/2026
17.1.0 117 4/9/2026
17.0.1 112 3/18/2026
17.0.0 108 3/18/2026
16.0.2 127 2/19/2026
Loading failed