PropertyChangedCallback delegate

This topic has not yet been rated - Rate this topic

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

GuidAttribute("5a9f8a25-d142-44a4-8231-fd676724f29b")
VersionAttribute(NTDDI_WIN8)
WebHostHiddenAttribute()

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

Namespace

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

Metadata

Windows.winmd

See also

Register
RegisterAttached
Custom dependency properties
Dependency properties overview

 

 

Build date: 1/31/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.