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
Apr 27, 2023
Latest stable version

Install

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

Frameworks

net6.0 .NETStandard2.0 .NETStandard2.1

Dependencies

[7.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.

Compatibility metadata lists 3 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.