DependencyObject.UnregisterPropertyChangedCallback(DependencyProperty, Int64) Method

Definition

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

public:
 virtual void UnregisterPropertyChangedCallback(DependencyProperty ^ dp, long long token) = UnregisterPropertyChangedCallback;
void UnregisterPropertyChangedCallback(DependencyProperty const& dp, long const& token);
public void UnregisterPropertyChangedCallback(DependencyProperty dp, long 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