From 0df6d186f44113aa3ef25baee0bb1ffc89131103 Mon Sep 17 00:00:00 2001 From: Mateusz Skoczek Date: Wed, 15 Apr 2026 23:41:42 +0200 Subject: [PATCH] merge --- MSEssentials.UI.Common.MVVM/NavigationViewItem.cs | 8 ++++++++ MSEssentials.UI.Common.MVVM/README.md | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 MSEssentials.UI.Common.MVVM/NavigationViewItem.cs diff --git a/MSEssentials.UI.Common.MVVM/NavigationViewItem.cs b/MSEssentials.UI.Common.MVVM/NavigationViewItem.cs new file mode 100644 index 0000000..ed64392 --- /dev/null +++ b/MSEssentials.UI.Common.MVVM/NavigationViewItem.cs @@ -0,0 +1,8 @@ +namespace MSEssentials.UI.Common.MVVM; + +public class NavigationViewItem +{ + public string Name { get; set; } + public string IconSource { get; set; } + public Type ViewModel { get; set; } +} \ No newline at end of file diff --git a/MSEssentials.UI.Common.MVVM/README.md b/MSEssentials.UI.Common.MVVM/README.md index dd734ca..35cac0e 100644 --- a/MSEssentials.UI.Common.MVVM/README.md +++ b/MSEssentials.UI.Common.MVVM/README.md @@ -12,18 +12,18 @@ MSEssentials is package of useful classes, helpers, extensions and UI controls, |-----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **MSEssentials.UI.Common.MVVM** | [![NuGet version (MSEssentials.UI.Common.MVVM)](https://img.shields.io/nuget/v/MSEssentials.UI.Common.MVVM.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.UI.Common.MVVM/) | | MSEssentials.Extensions | [![NuGet version (MSEssentials.Extensions)](https://img.shields.io/nuget/v/MSEssentials.Extensions.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.Extensions/) | -| MSEssentials.Attributes | [![NuGet version (MSEssentials.Attributes)](https://img.shields.io/nuget/v/MSEssentials.Attributes.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.Attributes/) | -| MSEssentials.UI.Models | [![NuGet version (MSEssentials.UI.Models)](https://img.shields.io/nuget/v/MSEssentials.UI.Models.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.UI.Models/) | +| MSEssentials.AspNetCore.Attributes | [![NuGet version (MSEssentials.AspNetCore.Attributes)](https://img.shields.io/nuget/v/MSEssentials.AspNetCore.Attributes.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.AspNetCore.Attributes/) | +| MSEssentials.UI.Common.Converters | [![NuGet version (MSEssentials.UI.Common.Converters)](https://img.shields.io/nuget/v/MSEssentials.UI.Common.Converters.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.UI.Common.Converters/) | | MSEssentials.UI.WinUI.Behaviors | [![NuGet version (MSEssentials.UI.WinUI.Behaviors)](https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Behaviors.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.UI.WinUI.Behaviors/) | | MSEssentials.UI.WinUI.Converters | [![NuGet version (MSEssentials.UI.WinUI.Converters)](https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Converters.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.UI.WinUI.Converters/) | | MSEssentials.UI.WinUI.Controls | [![NuGet version (MSEssentials.UI.WinUI.Controls)](https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Controls.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.UI.WinUI.Controls/) | -| MSEssentials.UI.WinUI.Helpers | [![NuGet version (MSEssentials.UI.WinUI.Helpers)](https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Helpers.svg?style=flat-square)](https://www.nuget.org/packages/MSEssentials.UI.WinUI.Helpers/) | ## Features - **ObservableKeyValuePair** - observable version of KeyValuePair - **ObservableDictionary** - observable version of Dictionary -- +- **NavigationViewItem** - list item model (for example for navigation controls), allows to bind item to view model + ## Installation and usage You can download package from official NuGet registry or .nupkg file itself from Releases tab.