Property Property
Collapse the table of content
Expand the table of content

DependencyPropertyChangedEventArgs.Property Property

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

Gets the identifier for the dependency property where the value change occurred.

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

public DependencyProperty Property { get; }

Property Value

Type: System.Windows.DependencyProperty
The identifier field of the dependency property where the value change occurred.

If the action of your PropertyChangedCallback changes the property value again, you can use SetValue, passing Property for the dp parameter and using this in the callback scope as the invoking DependencyObject.

The Property can be particularly relevant if used within a common PropertyChangedCallback that is registered for several properties, and it is necessary to disambiguate which property change invoked the callback.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft