Table of Contents

Class PropertyChangeNotifier

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

Helper class for receiving DependencyProperty change notifications without memory leaks.

public class PropertyChangeNotifier : DependencyObject, IDisposable
Inheritance
PropertyChangeNotifier
Implements
Extension Methods

Constructors

PropertyChangeNotifier(DependencyObject, string)

Initializes a new instance of the PropertyChangeNotifier class with specified parameters.

PropertyChangeNotifier(DependencyObject, string, bool)

Initializes a new instance of the PropertyChangeNotifier class with specified parameters.

PropertyChangeNotifier(DependencyObject, DependencyProperty)

Initializes a new instance of the PropertyChangeNotifier class with specified parameters.

PropertyChangeNotifier(DependencyObject, DependencyProperty, bool)

Initializes a new instance of the PropertyChangeNotifier class with specified parameters.

PropertyChangeNotifier(DependencyObject, PropertyPath)

Initializes a new instance of the PropertyChangeNotifier class with specified parameters.

PropertyChangeNotifier(DependencyObject, PropertyPath, bool)

Initializes a new instance of the PropertyChangeNotifier class with specified parameters.

Fields

PinnedProperty

Gets pinned property.

ValueProperty

Identifies the Value dependency property

Properties

PropertySource

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

Value

Returns/sets the value of the property

Methods

Dispose()

Release resources of the PropertyChangeNotifier object.

GetPinned(DependencyObject)

Indicates whether specifies object is already pinned.

SetPinned(DependencyObject, HashSet<PropertyChangeNotifier>)

Events

ValueChanged

Occurs when the value of the ValueProperty changes.