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.
#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 (5)
Showing the top 5 popular GitHub repositories that depend on DependencyPropertyGenerator:
Repository | Stars |
---|---|
helix-toolkit/helix-toolkit
Helix Toolkit is a collection of 3D components for .NET.
|
|
JasonWei512/EnergyStarX
🔋 Improve your Windows 11 device's battery life. A WinUI 3 GUI for https://github.com/imbushuo/EnergyStar.
|
|
GoldenPotato137/PotatoVN
一款Visual Novel管理软件
|
|
HavenDV/H.NotifyIcon
TrayIcon for WPF/WinUI/Uno/MAUI
|
|
IviriusCommunity/Rebound
Windows 11 done right.
|
Version | Downloads | Last Updated |
---|---|---|
1.5.0 | 7,634 | 1/12/2025 |
1.5.0-beta.2 | 2,269 | 7/23/2024 |
1.5.0-beta.1 | 2,525 | 1/16/2024 |
1.4.0 | 11,695 | 1/5/2024 |
1.4.0-alpha.3 | 314 | 12/4/2023 |
1.4.0-alpha.2 | 102 | 12/1/2023 |
1.4.0-alpha.1 | 88 | 11/30/2023 |
1.3.3 | 3,638 | 11/7/2023 |
1.3.2 | 2,240 | 9/23/2023 |
1.3.1 | 504 | 9/9/2023 |
1.3.0 | 754 | 9/1/2023 |
1.2.12 | 231 | 8/29/2023 |
1.2.11 | 164 | 8/29/2023 |
1.2.8 | 201 | 8/28/2023 |
1.2.7 | 209 | 8/27/2023 |
1.2.6 | 178 | 8/25/2023 |
1.2.5 | 2,325 | 3/24/2023 |
1.2.4 | 813 | 3/14/2023 |
1.2.3 | 692 | 3/11/2023 |
1.2.2 | 349 | 3/10/2023 |
1.2.1 | 301 | 3/9/2023 |
1.2.0 | 281 | 3/8/2023 |
1.1.7 | 286 | 3/6/2023 |
1.1.5 | 445 | 2/14/2023 |
1.1.4 | 447 | 2/2/2023 |
1.1.3 | 330 | 2/2/2023 |
1.1.2 | 671 | 1/28/2023 |
1.1.1 | 377 | 1/27/2023 |
1.1.0 | 355 | 1/27/2023 |
1.0.7 | 383 | 1/18/2023 |
1.0.6 | 489 | 1/9/2023 |
1.0.5 | 324 | 1/9/2023 |
1.0.3 | 2,618 | 8/26/2022 |
1.0.2 | 439 | 8/26/2022 |
1.0.1 | 508 | 8/23/2022 |
1.0.0 | 665 | 8/22/2022 |
0.53.0 | 694 | 8/13/2022 |
0.52.2 | 823 | 7/29/2022 |
0.52.1 | 503 | 7/29/2022 |
0.52.0 | 480 | 7/28/2022 |
0.51.1 | 493 | 7/28/2022 |
0.51.0 | 475 | 7/27/2022 |
0.50.1 | 497 | 7/26/2022 |
0.50.0 | 496 | 7/26/2022 |
0.49.0 | 456 | 7/25/2022 |
0.48.1 | 493 | 7/19/2022 |
0.48.0 | 499 | 7/19/2022 |
0.47.0 | 470 | 7/18/2022 |
0.46.0 | 505 | 7/18/2022 |
0.45.0 | 504 | 7/18/2022 |
0.44.0 | 471 | 7/18/2022 |
0.43.1 | 522 | 7/18/2022 |
0.43.0 | 496 | 7/18/2022 |
0.42.0 | 552 | 7/17/2022 |
0.41.0 | 527 | 7/17/2022 |
0.40.0 | 506 | 7/17/2022 |
0.39.0 | 514 | 7/16/2022 |
0.38.0 | 476 | 7/16/2022 |
0.37.0 | 508 | 7/13/2022 |
0.36.3 | 600 | 7/9/2022 |
0.36.2 | 470 | 7/9/2022 |
0.36.1 | 496 | 7/9/2022 |
0.36.0 | 481 | 7/9/2022 |
0.35.1 | 483 | 7/8/2022 |
0.35.0 | 513 | 7/8/2022 |
0.34.3 | 528 | 7/1/2022 |
0.34.2 | 480 | 7/1/2022 |
0.34.1 | 531 | 6/30/2022 |
0.34.0 | 459 | 6/30/2022 |
0.33.0 | 511 | 6/29/2022 |
0.32.1 | 544 | 6/24/2022 |
0.32.0 | 492 | 6/24/2022 |
0.31.0 | 512 | 6/24/2022 |
0.29.0 | 504 | 6/24/2022 |
0.28.1 | 491 | 6/24/2022 |
0.28.0 | 501 | 6/23/2022 |
0.27.5 | 537 | 6/23/2022 |
0.27.4 | 518 | 6/23/2022 |
0.27.3 | 509 | 6/23/2022 |
0.27.2 | 484 | 6/23/2022 |
0.27.1 | 513 | 6/23/2022 |
0.27.0 | 488 | 6/23/2022 |
0.26.1 | 478 | 6/23/2022 |
0.26.0 | 513 | 6/23/2022 |
0.25.0 | 512 | 6/22/2022 |
0.24.0 | 508 | 6/22/2022 |
0.23.0 | 512 | 6/22/2022 |
0.22.0 | 458 | 6/22/2022 |
0.21.1 | 480 | 6/22/2022 |
0.21.0 | 479 | 6/22/2022 |
0.20.0 | 465 | 6/22/2022 |
0.19.1 | 498 | 6/21/2022 |
0.19.0 | 517 | 6/21/2022 |
0.18.0 | 483 | 6/21/2022 |
0.16.5 | 497 | 6/20/2022 |
0.16.4 | 478 | 6/20/2022 |
0.16.2 | 455 | 6/20/2022 |
0.16.1 | 477 | 6/20/2022 |
0.16.0 | 495 | 6/20/2022 |
0.15.1 | 519 | 6/20/2022 |
0.15.0 | 505 | 6/20/2022 |
0.14.0 | 507 | 6/20/2022 |
0.12.0 | 507 | 6/20/2022 |
0.10.0 | 479 | 6/20/2022 |
0.9.0 | 476 | 6/20/2022 |
0.8.0 | 511 | 6/20/2022 |
0.7.3 | 515 | 6/19/2022 |
0.7.2 | 512 | 6/19/2022 |
0.7.1 | 484 | 6/19/2022 |
0.7.0 | 452 | 6/19/2022 |
0.6.0 | 485 | 6/19/2022 |
0.3.3 | 484 | 6/19/2022 |
0.3.2 | 525 | 6/19/2022 |
0.0.0-beta.274 | 106 | 8/19/2024 |
0.0.0-beta.273 | 96 | 8/19/2024 |
0.0.0-beta.272 | 78 | 8/12/2024 |
0.0.0-beta.271 | 62 | 8/5/2024 |
0.0.0-beta.270 | 71 | 7/29/2024 |
0.0.0-beta.269 | 82 | 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.