![]() |
VOOZH | about |
dotnet add package Meziantou.Framework.WPF --version 2.0.4
NuGet\Install-Package Meziantou.Framework.WPF -Version 2.0.4
<PackageReference Include="Meziantou.Framework.WPF" Version="2.0.4" />
<PackageVersion Include="Meziantou.Framework.WPF" Version="2.0.4" />Directory.Packages.props
<PackageReference Include="Meziantou.Framework.WPF" />Project file
paket add Meziantou.Framework.WPF --version 2.0.4
#r "nuget: Meziantou.Framework.WPF, 2.0.4"
#:package Meziantou.Framework.WPF@2.0.4
#addin nuget:?package=Meziantou.Framework.WPF&version=2.0.4Install as a Cake Addin
#tool nuget:?package=Meziantou.Framework.WPF&version=2.0.4Install as a Cake Tool
Utilities for WPF applications, including:
DelegateCommand for synchronous and asynchronous commandsConcurrentObservableCollection<T> for thread-safe collections that can be bound to WPF controlsEnumValuesExtension, LocalizedEnumValuesExtension)BooleanToValueConverter for flexible bool-to-value conversion in bindingsSwitchToDispatcherThread)dotnet add package Meziantou.Framework.WPF
using Meziantou.Framework.WPF;
public sealed class SampleViewModel
{
public IDelegateCommand SaveCommand { get; } = DelegateCommand.Create(
execute: () => Console.WriteLine("Saved"),
canExecute: () => true);
}
using Meziantou.Framework.WPF.Collections;
var collection = new ConcurrentObservableCollection<string>();
listBox.ItemsSource = collection.AsObservable;
await Task.Run(() => collection.Add("Item from background thread"));
<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>
<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. |
Showing the top 1 NuGet packages that depend on Meziantou.Framework.WPF:
| Package | Downloads |
|---|---|
|
ParticlesInspector.Algo
1.更新测试 |
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 |