Table of Contents

Method AddValueChangedWeak

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

AddValueChangedWeak(DependencyProperty, object, EventHandler)

Adds new handler to respond a notification.

public static void AddValueChangedWeak(this DependencyProperty prop, object component, EventHandler handler)

Parameters

prop DependencyProperty

The DependencyProperty object that can respond a notification.

component object

The DependencyObject which property's change we need to listen to.

handler EventHandler

Handler to respond notification.

AddValueChangedWeak(DependencyPropertyDescriptor, object, EventHandler)

Adds new handler to respond a notification.

public static void AddValueChangedWeak(this DependencyPropertyDescriptor dpd, object component, EventHandler handler)

Parameters

dpd DependencyPropertyDescriptor

The DependencyPropertyDescriptor object that can respond a notification.

component object

The DependencyObject which property's change we need to listen to.

handler EventHandler

Handler to respond notification.