docs-desktop
docs-desktop copied to clipboard
Clarify dependency property - it's still a mystery to me
I still have no idea why I would use a dependency property or what it does that a normal property would not do. Needs an example and illustration of the difference in appearance or behaviour that would result.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 73a26290-f551-b7c3-3677-426ea3fb39d9
- Version Independent ID: 8e6e4275-ed51-8425-7d6b-ee4a4b1c3fba
- Content: Dependency properties overview - WPF .NET Framework
- Content Source: dotnet-desktop-guide/framework/wpf/advanced/dependency-properties-overview.md
- Product: dotnet-framework
- Technology: dotnet-wpf
- GitHub Login: @adegeo
- Microsoft Alias: adegeo
Hi. I believe the Property functionality provided by a dependency property section describes what you're looking for. It doesn't have a break down table or chart though.
Basically dependency property enables enhanced scenarios such as animation, styling, value inheritance, dynamic resource binding, and attached properties.
I'm going to close this issue. If you have further questions, feel free to ask.
I'm going to reopen this. I think adding a chart or something like you said would be helpful when we get to redoing this content in .net 5