Files

122 lines
4.2 KiB
Markdown
Raw Permalink Normal View History

2026-02-15 16:20:10 +01:00
<p align="center"><img src=".gitea/readme/icon.png"/></p>
2026-02-15 16:00:25 +01:00
2026-04-12 22:53:34 +02:00
<h1 align="center">MSEssentials.UI.Common.MVVM</h1>
2026-02-15 16:20:10 +01:00
<h3 align="center"><b>Set of helpers, class extensions, UI controls used in my other C# projects</b></h3>
2026-04-12 22:53:34 +02:00
<p align="center">MSEssentials is package of useful classes, helpers, extensions and UI controls, I use in my C# projects. MVVM subpackage contains models and helper classes for implementing MVVM architecture.</p>
2026-02-15 16:20:10 +01:00
---
2026-02-15 22:04:00 +01:00
## Informations
> [!Important]
> **For Github users:**
>
2026-04-12 22:53:34 +02:00
> This is only mirror repository. All changes are first uploaded to the repository <a href="https://repos.mateuszskoczek.com/MSEssentials/MSEssentials.UI.Common.MVVM">here</a>. Releases are also published on original repository. However, Github repository handles issues and pull requests for better accessibility.
2026-02-15 22:04:00 +01:00
2026-02-15 16:20:10 +01:00
## NuGet registry status
<table>
<tr>
<th>
Subpackage
</th>
<th>
Status
</th>
</tr>
<tr>
<td>
2026-04-12 22:53:34 +02:00
<b>MSEssentials.UI.Common.MVVM</b>
2026-02-15 16:20:10 +01:00
</td>
<td>
2026-04-12 22:53:34 +02:00
<a href="https://www.nuget.org/packages/MSEssentials.UI.Common.MVVM/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.Common.MVVM.svg?style=flat-square"></a>
2026-02-15 16:20:10 +01:00
</td>
</tr>
<tr>
<th colspan=2>
Other subpackages
</th>
</tr>
<tr>
<td>
2026-04-12 22:53:34 +02:00
MSEssentials.Extensions
2026-02-15 16:20:10 +01:00
</td>
<td>
2026-04-12 22:53:34 +02:00
<a href="https://www.nuget.org/packages/MSEssentials.Extensions/"><img src="https://img.shields.io/nuget/v/MSEssentials.Extensions.svg?style=flat-square"></a>
2026-02-15 16:20:10 +01:00
</td>
</tr>
<tr>
<td>
2026-04-15 23:42:57 +02:00
MSEssentials.AspNetCore.Attributes
2026-02-15 16:20:10 +01:00
</td>
<td>
2026-04-15 23:42:57 +02:00
<a href="https://www.nuget.org/packages/MSEssentials.AspNetCore.Attributes/"><img src="https://img.shields.io/nuget/v/MSEssentials.AspNetCore.Attributes.svg?style=flat-square"></a>
2026-02-15 16:20:10 +01:00
</td>
</tr>
<tr>
<td>
2026-04-15 23:42:57 +02:00
MSEssentials.UI.Common.Converters
2026-02-15 16:20:10 +01:00
</td>
<td>
2026-04-15 23:42:57 +02:00
<a href="https://www.nuget.org/packages/MSEssentials.UI.Common.Converters/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.Common.Converters.svg?style=flat-square"></a>
2026-02-15 16:20:10 +01:00
</td>
</tr>
<tr>
<td>
2026-04-12 22:53:34 +02:00
MSEssentials.UI.WinUI.Behaviors
2026-02-15 16:20:10 +01:00
</td>
<td>
2026-04-12 22:53:34 +02:00
<a href="https://www.nuget.org/packages/MSEssentials.UI.WinUI.Behaviors/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Behaviors.svg?style=flat-square"></a>
2026-02-15 16:20:10 +01:00
</td>
</tr>
<tr>
<td>
2026-04-12 22:53:34 +02:00
MSEssentials.UI.WinUI.Converters
2026-02-15 16:20:10 +01:00
</td>
<td>
2026-04-12 22:53:34 +02:00
<a href="https://www.nuget.org/packages/MSEssentials.UI.WinUI.Converters/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Converters.svg?style=flat-square"></a>
2026-02-15 16:20:10 +01:00
</td>
</tr>
<tr>
<td>
2026-04-12 22:53:34 +02:00
MSEssentials.UI.WinUI.Controls
2026-02-15 16:20:10 +01:00
</td>
<td>
2026-04-12 22:53:34 +02:00
<a href="https://www.nuget.org/packages/MSEssentials.UI.WinUI.Controls/"><img src="https://img.shields.io/nuget/v/MSEssentials.UI.WinUI.Controls.svg?style=flat-square"></a>
2026-02-15 16:20:10 +01:00
</td>
</tr>
</table>
## Features
- **ObservableKeyValuePair** - observable version of KeyValuePair
- **ObservableDictionary** - observable version of Dictionary
2026-04-15 23:42:57 +02:00
- **NavigationViewItem** - list item model (for example for navigation controls), allows to bind item to view model
2026-02-15 16:20:10 +01:00
## Installation and usage
You can download package from official NuGet registry or .nupkg file itself from Releases tab.
2026-02-15 16:20:10 +01:00
**CLI:**
```
2026-04-12 22:53:34 +02:00
dotnet add package MSEssentials.UI.Common.MVVM
2026-02-15 16:20:10 +01:00
```
**Package reference in .csproj file:**
```
2026-04-12 22:53:34 +02:00
<PackageReference Include="MSEssentials.UI.Common.MVVM" Version="<version>" />
2026-02-15 16:20:10 +01:00
```
## Attribution and contribution
2026-04-12 22:53:34 +02:00
This project is open source on MIT License, so you can just copy and upload again to your repository. But according to the license, you must include information about the original author. You can find license <a href="https://repos.mateuszskoczek.com/MSEssentials/MSEssentials.UI.Common.MVVM/src/branch/main/LICENSE">here</a>.
2026-02-15 16:20:10 +01:00
However, the preferred way to contribute would be to propose improvements in a pull request, through issues, or through other means of communication.
**Other sources:**
- Icon by <a href="icons8.com">Icons8</a>