Udostępnij za pośrednictwem


DependencyObject.UnregisterPropertyChangedCallback 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);
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

long long

long

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

Applies to

See also