Represents a property that can be set through methods such as, styling, data binding, animation, and inheritance.
A DependencyProperty supports the following capabilities in Windows Presentation Foundation (WPF):
- The property can be set in a style.
- The property can be set through data binding.
- The property can be set with a dynamic resource reference.
- The property can inherit its value automatically from a parent element in the element tree.
- The property can be animated.
- The property can report when the previous value of the property has been changed and the property value can be coerced.
- The property reports information to WPF, such as whether changing a property value should require the layout system to recompose the visuals for an element.
- The property receives support in the WPF Designer for Visual Studio.
No comments:
Post a Comment