Skip to main content
CommunityToolkit.Mvvm package icon

CommunityToolkit.Mvvm

This package includes a .NET MVVM library with helpers such as: - ObservableObject: a base class for objects implementing the INotifyPropertyChanged interface. - ObservableRecipient: a base class for observable objects with support for the IMessenger service. - ObservableValidator: a base class for objects implementing the INotifyDataErrorInfo interface. - RelayCommand: a simple delegate command implementing the ICommand interface. - AsyncRelayCommand: a delegate command supporting asynchronous operations and cancellation. - WeakReferenceMessenger: a messaging system to exchange messages through different loosely-coupled objects. - StrongReferenceMessenger: a high-performance messaging system that trades weak references for speed. - Ioc: a helper class to configure dependency injection service containers.

Total Downloads
24.9M
24,866,479
Published
Nov 27, 2024
Latest stable version

Install

.NET CLI
dotnet add package CommunityToolkit.Mvvm --version 8.4.0-preview3
Package Manager Console
Install-Package CommunityToolkit.Mvvm -Version 8.4.0-preview3
PackageReference
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0-preview3" />

Frameworks

net8.0 net8.0-windows10.0.17763 .NETStandard2.0 .NETStandard2.1

Dependencies

[8.0.0, )
[5.0.0, )
System.Memory
.NETStandard2.0
[4.5.5, )
[5.0.0, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.