BlackSharp.MVVM 1.3.2

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

<h1 align="center">BlackSharp.MVVM</h1>

<p align="center"> <img src="https://raw.githubusercontent.com/Blacktempel/BlackSharp/master/Assets/BlackSharpFull.png" width="128" height="128" alt="BlackSharp.MVVM logo"/> </p>

NuGet NuGet downloads .NET GitHub Sponsors PayPal License

BlackSharp.MVVM provides framework-neutral view model building blocks on top of CommunityToolkit.Mvvm.

Features

  • A ViewModelBase with change-aware property setters and a notification for all properties
  • A cloneable drag-and-drop view model base and event arguments for reorder requests
  • Selection models that pair display text with enum values
  • Shared contracts for message and confirmation dialogs, application themes and hotkeys

Supported .NET versions

.NET version Support
.NET 8 ✅
.NET 9 ✅
.NET 10 ✅
.NET 11 ✅

NuGet

dotnet add package BlackSharp.MVVM

Supported platforms

Operating system Support
Windows ✅
Linux ✅
Other ✅

Usage

Derive from ViewModelBase and call SetField in your setters. It raises a property change notification when the value changes.

using BlackSharp.MVVM.ComponentModel;

var counter = new CounterViewModel();
counter.PropertyChanged += (_, args) => Console.WriteLine($"{args.PropertyName}: {counter.Count}");
counter.Count = 1;

public sealed class CounterViewModel : ViewModelBase
{
    private int _count;

    public int Count
    {
        get => _count;
        set => SetField(ref _count, value);
    }
}

Support and license

Report issues in the BlackSharp issue tracker. Licensed under the Mozilla Public License 2.0.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on BlackSharp.MVVM:

Package Downloads
BlackSharp.UI.Avalonia

Reusable Avalonia functionality for .NET applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.2 77 11/30/2026
1.3.1 123 11/24/2026
1.3.0 128 11/21/2026
1.2.12 162 11/16/2026
1.2.11 114 11/10/2026
1.2.10 126 11/6/2026
1.2.9 119 11/4/2026
1.2.8 139 11/1/2026
1.2.7 128 10/30/2026
1.2.6 703 10/28/2026
1.2.5 149 10/23/2026
1.2.4 131 10/22/2026
1.2.3 144 10/11/2026
1.2.2 153 9/23/2026
1.2.1 147 9/14/2026
1.2.0 196 8/21/2026
1.1.4 166 7/23/2026
1.1.3 195 7/19/2026
1.1.2 171 6/14/2026
1.1.1 180 5/22/2026
Loading failed