Bagikan melalui


PropertyChangedCallback Delegate

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Delegate Sub PropertyChangedCallback ( _
    d As DependencyObject, _
    e As DependencyPropertyChangedEventArgs _
)
public delegate void PropertyChangedCallback(
    DependencyObject d,
    DependencyPropertyChangedEventArgs e
)

Parameters

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.