DependencyPropertyGenerator 0.3.2
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 DependencyPropertyGenerator --version 0.3.2
NuGet\Install-Package DependencyPropertyGenerator -Version 0.3.2
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="DependencyPropertyGenerator" Version="0.3.2"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DependencyPropertyGenerator" Version="0.3.2" />
<PackageReference Include="DependencyPropertyGenerator"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
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 DependencyPropertyGenerator --version 0.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DependencyPropertyGenerator, 0.3.2"
#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 DependencyPropertyGenerator@0.3.2
#: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=DependencyPropertyGenerator&version=0.3.2
#tool nuget:?package=DependencyPropertyGenerator&version=0.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DependencyPropertyGenerator
Dependency property source generator for WPF/UWP/WinUI/Uno platforms.
Dependency property
[DependencyProperty("IsSpinning", typeof(bool))]
public partial class MainWindow
{
}
will generate:
public static readonly DependencyProperty IsSpinningProperty =
DependencyProperty.Register(
"IsSpinning",
typeof(bool),
typeof(MainWindow));
public bool IsSpinning
{
get => (bool)GetValue(IsSpinningProperty);
set => SetValue(IsSpinningProperty, value);
}
Attached Dependency Property
[AttachedDependencyProperty("IsBubbleSource", typeof(bool))]
public partial static class AquariumObject2
{
}
will generate:
public static readonly DependencyProperty IsBubbleSourceProperty =
DependencyProperty.RegisterAttached(
"IsBubbleSource",
typeof(bool),
typeof(AquariumObject2));
public static void SetIsBubbleSource(UIElement element, bool value)
{
element.SetValue(IsBubbleSourceProperty, value);
}
public static bool GetIsBubbleSource(UIElement element)
{
return (bool)element.GetValue(IsBubbleSourceProperty);
}
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- DependencyPropertyGenerator.Core (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (6)
Showing the top 6 popular GitHub repositories that depend on DependencyPropertyGenerator:
| Repository | Stars |
|---|---|
|
helix-toolkit/helix-toolkit
Helix Toolkit is a collection of 3D components for .NET.
|
|
|
GoldenPotato137/PotatoVN
一款Visual Novel管理软件
|
|
|
JasonWei512/EnergyStarX
🔋 Improve your Windows 11 device's battery life. A WinUI 3 GUI for https://github.com/imbushuo/EnergyStar.
|
|
|
IviriusCommunity/Rebound
WinUI rewrite project of Windows 11 system apps.
|
|
|
HavenDV/H.NotifyIcon
TrayIcon for WPF/WinUI/Uno/MAUI
|
|
|
NeilMacMullen/kusto-loco
C# KQL query engine with flexible I/O layers and visualization
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.5.0 | 13,095 | 1/12/2025 |
| 1.5.0-beta.2 | 2,303 | 7/23/2024 |
| 1.5.0-beta.1 | 2,580 | 1/16/2024 |
| 1.4.0 | 12,728 | 1/5/2024 |
| 1.4.0-alpha.3 | 329 | 12/4/2023 |
| 1.4.0-alpha.2 | 113 | 12/1/2023 |
| 1.4.0-alpha.1 | 100 | 11/30/2023 |
| 1.3.3 | 3,687 | 11/7/2023 |
| 1.3.2 | 2,285 | 9/23/2023 |
| 1.3.1 | 548 | 9/9/2023 |
| 1.3.0 | 806 | 9/1/2023 |
| 1.2.12 | 278 | 8/29/2023 |
| 1.2.11 | 208 | 8/29/2023 |
| 1.2.8 | 247 | 8/28/2023 |
| 1.2.7 | 277 | 8/27/2023 |
| 1.2.6 | 225 | 8/25/2023 |
| 1.2.5 | 2,394 | 3/24/2023 |
| 1.2.4 | 880 | 3/14/2023 |
| 1.2.3 | 759 | 3/11/2023 |
| 1.2.2 | 428 | 3/10/2023 |
| 1.2.1 | 400 | 3/9/2023 |
| 1.2.0 | 369 | 3/8/2023 |
| 1.1.7 | 352 | 3/6/2023 |
| 1.1.5 | 511 | 2/14/2023 |
| 1.1.4 | 516 | 2/2/2023 |
| 1.1.3 | 407 | 2/2/2023 |
| 1.1.2 | 758 | 1/28/2023 |
| 1.1.1 | 455 | 1/27/2023 |
| 1.1.0 | 434 | 1/27/2023 |
| 1.0.7 | 466 | 1/18/2023 |
| 1.0.6 | 558 | 1/9/2023 |
| 1.0.5 | 390 | 1/9/2023 |
| 1.0.3 | 2,710 | 8/26/2022 |
| 1.0.2 | 514 | 8/26/2022 |
| 1.0.1 | 597 | 8/23/2022 |
| 1.0.0 | 764 | 8/22/2022 |
| 0.53.0 | 783 | 8/13/2022 |
| 0.52.2 | 913 | 7/29/2022 |
| 0.52.1 | 586 | 7/29/2022 |
| 0.52.0 | 575 | 7/28/2022 |
| 0.51.1 | 579 | 7/28/2022 |
| 0.51.0 | 550 | 7/27/2022 |
| 0.50.1 | 586 | 7/26/2022 |
| 0.50.0 | 564 | 7/26/2022 |
| 0.49.0 | 528 | 7/25/2022 |
| 0.48.1 | 566 | 7/19/2022 |
| 0.48.0 | 592 | 7/19/2022 |
| 0.47.0 | 542 | 7/18/2022 |
| 0.46.0 | 598 | 7/18/2022 |
| 0.45.0 | 589 | 7/18/2022 |
| 0.44.0 | 565 | 7/18/2022 |
| 0.43.1 | 597 | 7/18/2022 |
| 0.43.0 | 580 | 7/18/2022 |
| 0.42.0 | 641 | 7/17/2022 |
| 0.41.0 | 616 | 7/17/2022 |
| 0.40.0 | 595 | 7/17/2022 |
| 0.39.0 | 587 | 7/16/2022 |
| 0.38.0 | 548 | 7/16/2022 |
| 0.37.0 | 600 | 7/13/2022 |
| 0.36.3 | 691 | 7/9/2022 |
| 0.36.2 | 541 | 7/9/2022 |
| 0.36.1 | 569 | 7/9/2022 |
| 0.36.0 | 559 | 7/9/2022 |
| 0.35.1 | 575 | 7/8/2022 |
| 0.35.0 | 601 | 7/8/2022 |
| 0.34.3 | 625 | 7/1/2022 |
| 0.34.2 | 558 | 7/1/2022 |
| 0.34.1 | 624 | 6/30/2022 |
| 0.34.0 | 544 | 6/30/2022 |
| 0.33.0 | 599 | 6/29/2022 |
| 0.32.1 | 634 | 6/24/2022 |
| 0.32.0 | 562 | 6/24/2022 |
| 0.31.0 | 600 | 6/24/2022 |
| 0.29.0 | 599 | 6/24/2022 |
| 0.28.1 | 566 | 6/24/2022 |
| 0.28.0 | 582 | 6/23/2022 |
| 0.27.5 | 628 | 6/23/2022 |
| 0.27.4 | 599 | 6/23/2022 |
| 0.27.3 | 582 | 6/23/2022 |
| 0.27.2 | 559 | 6/23/2022 |
| 0.27.1 | 590 | 6/23/2022 |
| 0.27.0 | 566 | 6/23/2022 |
| 0.26.1 | 560 | 6/23/2022 |
| 0.26.0 | 606 | 6/23/2022 |
| 0.25.0 | 584 | 6/22/2022 |
| 0.24.0 | 603 | 6/22/2022 |
| 0.23.0 | 586 | 6/22/2022 |
| 0.22.0 | 531 | 6/22/2022 |
| 0.21.1 | 552 | 6/22/2022 |
| 0.21.0 | 573 | 6/22/2022 |
| 0.20.0 | 536 | 6/22/2022 |
| 0.19.1 | 580 | 6/21/2022 |
| 0.19.0 | 613 | 6/21/2022 |
| 0.18.0 | 575 | 6/21/2022 |
| 0.16.5 | 598 | 6/20/2022 |
| 0.16.4 | 576 | 6/20/2022 |
| 0.16.2 | 526 | 6/20/2022 |
| 0.16.1 | 578 | 6/20/2022 |
| 0.16.0 | 568 | 6/20/2022 |
| 0.15.1 | 595 | 6/20/2022 |
| 0.15.0 | 593 | 6/20/2022 |
| 0.14.0 | 598 | 6/20/2022 |
| 0.12.0 | 582 | 6/20/2022 |
| 0.10.0 | 556 | 6/20/2022 |
| 0.9.0 | 548 | 6/20/2022 |
| 0.8.0 | 605 | 6/20/2022 |
| 0.7.3 | 605 | 6/19/2022 |
| 0.7.2 | 596 | 6/19/2022 |
| 0.7.1 | 555 | 6/19/2022 |
| 0.7.0 | 550 | 6/19/2022 |
| 0.6.0 | 561 | 6/19/2022 |
| 0.3.3 | 569 | 6/19/2022 |
| 0.3.2 | 616 | 6/19/2022 |
| 0.0.0-beta.274 | 132 | 8/19/2024 |
| 0.0.0-beta.273 | 108 | 8/19/2024 |
| 0.0.0-beta.272 | 90 | 8/12/2024 |
| 0.0.0-beta.271 | 91 | 8/5/2024 |
| 0.0.0-beta.270 | 98 | 7/29/2024 |
| 0.0.0-beta.269 | 120 | 7/23/2024 |
⭐ Last 10 features:
Released first version with WPF and DependencyAttrubute support.
Initial commit.
🐞 Last 10 bug fixes:
Added generate-build-number: false.
Fixed tests.
Fixed initial project settings.