Class PropertyChangeListener
- Namespace
- NMF.Expressions
- Assembly
- NMF.Expressions.dll
Denotes a listener for property changes
public class PropertyChangeListener : IChangeListener
- Inheritance
-
PropertyChangeListener
- Implements
- Inherited Members
- Extension Methods
Constructors
PropertyChangeListener(INotifiable)
Creates a new instance
public PropertyChangeListener(INotifiable node)
Parameters
nodeINotifiableThe target node
Properties
Node
Gets the target dependency graph node
public INotifiable Node { get; }
Property Value
Methods
AggregateChanges()
Aggregates the changes
public INotificationResult AggregateChanges()
Returns
- INotificationResult
A notification result aggregating the changes since the last propagation
Subscribe(INotifyPropertyChanged, string)
Subscribe to the property change events
public void Subscribe(INotifyPropertyChanged element, string propertyName)
Parameters
elementINotifyPropertyChangedThe element
propertyNamestringThe property name
Unsubscribe()
Removes a subscription
public void Unsubscribe()