Learning WPF nowadays. Found something new today with .Net dependency properties. What they bring to the table is
- Support for Callbacks (Validation, Change, etc)
- Property inheritance
- Attached properties
among others.
But my question here is why do they need to be declared as static in the containing class? The recommmended way is to then add instance 'wrapper' property for them. Why ?
edit: @Matt, but doesn't that also mandate that the property value is also shared across instances - unless of course it is a derived value ?