Content update - How to override dependency property metadata (user story 1878471) (#1205)

* Add article, snippets, toc, and redirects

* Minor edit to dependency-property-metadata article

* Update dotnet-desktop-guide/net/wpf/properties/how-to-override-metadata-for-a-dependency-property.md

Co-authored-by: Andy (Steve) De George <[email protected]>

Co-authored-by: Andy (Steve) De George <[email protected]>
This commit is contained in:
Tris Shores
2021-11-05 08:41:08 -07:00
committed by GitHub
co-authored by Andy De George
parent b82ed37802
commit c065be138a
19 changed files with 518 additions and 1 deletions
@@ -38,7 +38,7 @@ The <xref:System.Windows.PropertyMetadata> class stores most of the metadata use
- Types that add themselves as an owner of a dependency property.
If a type registers a dependency property without specifying metadata, the property system assigns a default `PropertyMetadata` object with default values for that type to the dependency property.
If a type registers a dependency property without specifying metadata, the property system assigns a `PropertyMetadata` object with default values for that type to the dependency property.
To retrieve metadata for a dependency property, call one of the <xref:System.Windows.DependencyProperty.GetMetadata%2A> overloads on the <xref:System.Windows.DependencyProperty> identifier. The metadata is returned as a `PropertyMetadata` object.