VOOZH about

URL: https://www.nuget.org/packages/Meziantou.Framework.WPF/

⇱ NuGet Gallery | Meziantou.Framework.WPF 2.0.4




👁 Image
Meziantou.Framework.WPF 2.0.4

Prefix Reserved
dotnet add package Meziantou.Framework.WPF --version 2.0.4
 
 
NuGet\Install-Package Meziantou.Framework.WPF -Version 2.0.4
 
 
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="Meziantou.Framework.WPF" Version="2.0.4" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Meziantou.Framework.WPF" Version="2.0.4" />
 
Directory.Packages.props
<PackageReference Include="Meziantou.Framework.WPF" />
 
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 Meziantou.Framework.WPF --version 2.0.4
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Meziantou.Framework.WPF, 2.0.4"
 
 
#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 Meziantou.Framework.WPF@2.0.4
 
 
#: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=Meziantou.Framework.WPF&version=2.0.4
 
Install as a Cake Addin
#tool nuget:?package=Meziantou.Framework.WPF&version=2.0.4
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Meziantou.Framework.WPF

👁 NuGet

Utilities for WPF applications, including:

  • DelegateCommand for synchronous and asynchronous commands
  • ConcurrentObservableCollection<T> for thread-safe collections that can be bound to WPF controls
  • Enum markup extensions (EnumValuesExtension, LocalizedEnumValuesExtension)
  • BooleanToValueConverter for flexible bool-to-value conversion in bindings
  • Dispatcher helpers (SwitchToDispatcherThread)

Install

dotnet add package Meziantou.Framework.WPF

Usage

Commands

using Meziantou.Framework.WPF;

public sealed class SampleViewModel
{
 public IDelegateCommand SaveCommand { get; } = DelegateCommand.Create(
 execute: () => Console.WriteLine("Saved"),
 canExecute: () => true);
}

Thread-safe bindable collection

using Meziantou.Framework.WPF.Collections;

var collection = new ConcurrentObservableCollection<string>();
listBox.ItemsSource = collection.AsObservable;

await Task.Run(() => collection.Add("Item from background thread"));

Enum values in XAML

<Window
 xmlns:wpf="clr-namespace:Meziantou.Framework.WPF;assembly=Meziantou.Framework.WPF">
 <ComboBox
 ItemsSource="{wpf:LocalizedEnumValues {x:Type local:MyEnum}}"
 DisplayMemberPath="Name"
 SelectedValuePath="Value" />
</Window>

Boolean converter

<Window.Resources>
 <wpf:BooleanToValueConverter
 x:Key="BoolToVisibility"
 TrueValue="{x:Static Visibility.Visible}"
 FalseValue="{x:Static Visibility.Collapsed}" />
</Window.Resources>
Product Versions Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 net8.0-windows7.0 is compatible.  net9.0-windows net9.0-windows was computed.  net9.0-windows7.0 net9.0-windows7.0 is compatible.  net10.0-windows net10.0-windows was computed.  net10.0-windows7.0 net10.0-windows7.0 is compatible.  net11.0-windows7.0 net11.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-windows7.0

    • No dependencies.
  • net11.0-windows7.0

    • No dependencies.
  • net8.0-windows7.0

    • No dependencies.
  • net9.0-windows7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Meziantou.Framework.WPF:

Package Downloads
ParticlesInspector.Algo

1.更新测试

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.4 97 6/13/2026
2.0.3 332 5/31/2026
2.0.2 139 5/23/2026
2.0.1 244 5/11/2026
2.0.0 487 5/6/2026
1.5.25 239 4/25/2026
1.5.24 415 3/29/2026
1.5.23 748 3/15/2026
1.5.22 309 2/22/2026
1.5.21 1,699 1/18/2026
1.5.20 367 12/14/2025
1.5.19 1,554 11/16/2025
1.5.18 455 11/2/2025
1.5.17 506 10/19/2025
1.5.16 1,258 9/16/2025
1.5.15 320 9/3/2025
1.5.14 370 8/10/2025
1.5.13 5,418 7/13/2025
1.5.12 1,365 6/15/2025
1.5.11 542 5/18/2025
Loading failed