PropertyChangedCallback Delegate
Collapse the table of content
Expand the table of content

PropertyChangedCallback Delegate

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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


Type: System.Windows.DependencyObject
The DependencyObject on which the property has changed value.
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

© 2017 Microsoft