These classes should report some aspects of the behavior of the dependency property.
Check out the various classes for the parameters they provide.
For example,
if you just want to return the dp property and provide the default value, use PropertyMetadata ,
if you want to specify animation behavior use UIPropertyMetadata ,
but if any property affects the resources of the wpf frame level, such as the layout of the element, the parent layout, or data binding, use FrameworkPropertyMetadata .
Details you can check at msdn http://msdn.microsoft.com/en-us/library/ms751554.aspx
gp. Mar 21 '10 at 12:34 2010-03-21 12:34
source share