Metalama.Patterns.Wpf
2024.2.25
Prefix Reserved
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Framework 4.7.1
This package targets .NET Framework 4.7.1. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Metalama.Patterns.Wpf --version 2024.2.25
NuGet\Install-Package Metalama.Patterns.Wpf -Version 2024.2.25
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="Metalama.Patterns.Wpf" Version="2024.2.25" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Metalama.Patterns.Wpf --version 2024.2.25
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Metalama.Patterns.Wpf, 2024.2.25"
#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.
// Install Metalama.Patterns.Wpf as a Cake Addin #addin nuget:?package=Metalama.Patterns.Wpf&version=2024.2.25 // Install Metalama.Patterns.Wpf as a Cake Tool #tool nuget:?package=Metalama.Patterns.Wpf&version=2024.2.25
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
About
The Metalama.Patterns.Wpf
contains aspects that implement WPF dependency properties and commands.
Key Features
- Generates WPF dependency properties from C# automatic properties:
- Integrates with
Metalama.Patterns.Contracts
. - Supports custom property-changing and property-changed methods.
- Turns property initializer values into default values.
- Generates WPF commands from C# methods :
- Supports a
CanExecute
method or property. - Integrates with
Metalama.Patterns.Observability
to supportINotifyPropertyChanged
.
- Supports a
- Supports custom naming conventions.
Main Types
The primary types in this package are:
DependencyPropertyAttribute
is an aspect that generates a WPF dependency property from a plain automatic property.CommandAttribute
is an aspect that exposes generates a WPF command property from a plain C# method.DependencyPropertyExtensions.ConfigureDependencyProperty
is a fabric extension method that configures theDependencyPropertyAttribute
aspect.CommandExtensions.ConfigureCommand
is a fabric extension method that configures theCommandAttribute
aspect.
Additional Documentation
- Conceptual documentation:
- API documentation
Related Packages
Metalama.Patterns.Contracts
provides contract attributes such as[NotNull]
or[Url]
. They integrate with theDependencyPropertyAttribute
aspect.Metalama.Patterns.Observability
can implementINotifyPropertyChanged
for theCanExecute
property supported by theCommandAttribute
aspect.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. |
.NET Framework | net471 is compatible. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.1
- Metalama.Framework (>= 2024.2.25)
- Metalama.Patterns.Contracts (>= 2024.2.25)
-
net6.0-windows7.0
- Metalama.Framework (>= 2024.2.25)
- Metalama.Patterns.Contracts (>= 2024.2.25)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2025.0.6-rc | 64 | 11/15/2024 |
2025.0.5-preview | 79 | 11/8/2024 |
2025.0.4-preview | 64 | 10/31/2024 |
2025.0.3-preview | 62 | 10/25/2024 |
2025.0.2-preview | 65 | 10/24/2024 |
2025.0.1-preview | 69 | 10/14/2024 |
2024.2.30 | 84 | 11/15/2024 |
2024.2.29 | 93 | 10/31/2024 |
2024.2.28 | 85 | 10/25/2024 |
2024.2.27 | 76 | 10/24/2024 |
2024.2.26 | 119 | 10/14/2024 |
2024.2.25 | 103 | 10/2/2024 |
2024.2.24 | 129 | 9/10/2024 |
2024.2.23 | 119 | 8/30/2024 |
2024.2.22 | 99 | 8/29/2024 |
2024.2.21 | 103 | 8/28/2024 |
2024.2.20 | 136 | 8/15/2024 |
2024.2.19 | 163 | 8/1/2024 |
2024.2.18 | 73 | 7/29/2024 |
2024.2.17-rc | 88 | 7/22/2024 |
2024.2.16-rc | 59 | 7/18/2024 |
2024.2.15-rc | 52 | 7/12/2024 |