Expand Minimize

PropertyChangedCallback Delegate

May 11, 2014

Represents the callback that is invoked when the effective property value of a dependency property changes.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

public delegate void PropertyChangedCallback(
	DependencyObject d,
	DependencyPropertyChangedEventArgs e
)

Parameters

d
Type: System.Windows.DependencyObject
The DependencyObject on which the property has changed value.
e
Type: System.Windows.DependencyPropertyChangedEventArgs
Event data that is issued by any event that tracks changes to the effective value of this property.

You implement callbacks based on this delegate to provide the property change behavior for a custom dependency property. You might use this callback to provide value constraints, or to initiate value changes in other properties that depend on the value of the property that is being changed.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft