Method AddValueChangedWeak
AddValueChangedWeak(DependencyProperty, object, EventHandler)
Adds new handler to respond a notification.
public static void AddValueChangedWeak(this DependencyProperty prop, object component, EventHandler handler)
Parameters
prop
DependencyPropertyThe DependencyProperty object that can respond a notification.
component
objectThe DependencyObject which property's change we need to listen to.
handler
EventHandlerHandler 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
DependencyPropertyDescriptorThe DependencyPropertyDescriptor object that can respond a notification.
component
objectThe DependencyObject which property's change we need to listen to.
handler
EventHandlerHandler to respond notification.