Pages

Men

rh

7/21/2012

What are DependencyProperties? What is the main benefit of using DependencyProperties over regular properties in WPF


What are DependencyProperties? What is the main benefit of using DependencyProperties over regular properties?
DependencyProperties are properties that provide value inheritance.The simplified concept is that when retrieving a value from a dependency property,first the local value is checked.  If the value is not set,then the logical tree is traversed to the root to find a value for the property.If the value is not found, than the default value is used.This allows multiple factors control the value of a property'

No comments :

Post a Comment