When should I use dependency properties in WPF?
They are static, so we save a lot on memory, compared to using .NET properties. Other gains of using dependency prope
The main difference is, that the value of a normal .NET property is read directly from a private member in your class, whereas the value of a DependencyProperty is resolved dynamically when calling the GetValue() method that is inherited from DependencyObject.
When you set a value of a dependency property it is not stored in a field of your object, but in a dictionary of keys and values provided by the base class DependencyObject. The key of an entry is the name of the property and the value is the value you want to set.
The advantages of dependency properties are
check the below url for more details about the magic behid it
dependency properties in WPF