Prev | Current Page 282 | Next

Matthew MacDonald

"Pro WPF with VB 2008: Windows Presentation Foundation with .NET 3.5"


For example, Font is an inheritable dependency property??”
if you set it on a higher-level element, it??™s inherited by nested
elements, unless they explicitly override it with their own
font settings.
IsAnimationProhibited If True, the dependency property can??™t be used in an
animation.
IsNotDataBindable If True, the dependency property can??™t be set with a binding
expression.
Journal If True, this dependency property will be persisted to the
journal (the history of visited pages) in a page-based
application.
SubPropertiesDoNotAffectRender If True, WPF will not rerender an object if one of its
subproperties (the property of a property) changes.
DefaultUpdateSourceTrigger This sets the default value for the Binding.UpdateSource-
Trigger property when this property is used in a binding
expression. The UpdateSourceTrigger determines when
a databound value applies its changes. You can set the
UpdateSourceTrigger property manually when you create
the binding.
DefaultValue This sets the default value for the dependency property.
CoerceValueCallback This provides a callback that attempts to ???correct??? a property
value before it??™s validated.
PropertyChangedCallback This provides a callback that is called when a property value
is changed.
Property Coercion
It??™s important to understand the relationship between the ValidateValueCallback (which you
can supply as an argument to the DependencyProperty.


Pages:
270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294