PropertyChangedCallback delegate

Applies to Windows and Windows Phone

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

Syntax


public delegate void PropertyChangedCallback(
  DependencyObject d, 
  DependencyPropertyChangedEventArgs e
)

Attributes

[Version(0x06020000)]
[WebHostHidden()]

Parameters

d

Type: DependencyObject

The DependencyObject on which the property has changed value.

e

Type: DependencyPropertyChangedEventArgs

Event data that is issued by any event that tracks changes to the effective value of this property.

Remarks

You implement callbacks based on this delegate to provide the property-changed 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. For more info see Custom dependency properties.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml
Windows::UI::Xaml [C++]

Metadata

Windows.winmd

See also

Register
RegisterAttached
Custom dependency properties
Dependency properties overview

 

 

Show:
© 2014 Microsoft