DependencyObject.UnregisterPropertyChangedCallback(DependencyProperty, Int64) Method

Definition

Cancels a change notification that was previously registered by calling RegisterPropertyChangedCallback.

Equivalent WinUI method: Microsoft.UI.Xaml.DependencyObject.UnregisterPropertyChangedCallback.

public:
 virtual void UnregisterPropertyChangedCallback(DependencyProperty ^ dp, long long token) = UnregisterPropertyChangedCallback;
void UnregisterPropertyChangedCallback(DependencyProperty const & dp, long token);
public void UnregisterPropertyChangedCallback(DependencyProperty dp, long token);
function unregisterPropertyChangedCallback(dp, token)
Public Sub UnregisterPropertyChangedCallback (dp As DependencyProperty, token As Long)

Parameters

dp
DependencyProperty

The dependency property identifier of the property to unregister for property-changed notification.

token
Int64

A token that represents the callback (returned by RegisterPropertyChangedCallback ).

Applies to

See also