Helper to not root (keep alive) the target object if registering on value change events.
More...
|
| | PropertyChangeNotifier (DependencyObject propertySource, string path) |
| | Creates the notifier from the given propertySource and its property path .
|
| |
| | PropertyChangeNotifier (DependencyObject propertySource, DependencyProperty property) |
| | Creates the notifier from the given propertySource and its property .
|
| |
| | PropertyChangeNotifier (DependencyObject propertySource, PropertyPath property) |
| | Creates the notifier from the given propertySource and its property path.
|
| |
|
void | Dispose () |
| | Clears the binding.
|
| |
|
|
static readonly DependencyProperty | ValueProperty |
| | Identifies the Value dependency property.
|
| |
|
|
DependencyObject | PropertySource [get] |
| | Gets the property source object or null if it doesn't exist.
|
| |
| object | Value [get, set] |
| | Returns/sets the value of the property.
|
| |
|
| EventHandler< PropertyValueChangedEventArgs< object > > | ValueChanged |
| | The event to notify on registered property value change.
|
| |
Helper to not root (keep alive) the target object if registering on value change events.
Code is based on https://agsmith.wordpress.com/2008/04/07/propertydescriptor-addvaluechanged-alternative/.
◆ PropertyChangeNotifier() [1/3]
Creates the notifier from the given propertySource and its property path .
- Parameters
-
| propertySource | Object to register event on. |
| path | Path to the property to get notified on. |
◆ PropertyChangeNotifier() [2/3]
Creates the notifier from the given propertySource and its property .
- Parameters
-
| propertySource | Object to register event on. |
| property | Property to get notified on. |
◆ PropertyChangeNotifier() [3/3]
Creates the notifier from the given propertySource and its property path.
- Parameters
-
| propertySource | Object to register event on. |
| property | Property path to get notified on. |
◆ Value
◆ ValueChanged
| EventHandler<PropertyValueChangedEventArgs<object> > ValueChanged |
The event to notify on registered property value change.
The sender is this object.