Table of Contents

Class PropertyChangeNotifier

Namespace
Ecng.Xaml
Assembly
StockSharp.Xaml.dll

Notifies when a specified dependency property changes on a target object.

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

Constructors

PropertyChangeNotifier(DependencyObject, string)

Initializes a new instance observing the specified path on the given propertySource.

public PropertyChangeNotifier(DependencyObject propertySource, string path)

Parameters

propertySource DependencyObject
path string

PropertyChangeNotifier(DependencyObject, DependencyProperty)

Initializes a new instance observing the specified dependency property on the given propertySource.

public PropertyChangeNotifier(DependencyObject propertySource, DependencyProperty property)

Parameters

propertySource DependencyObject
property DependencyProperty

PropertyChangeNotifier(DependencyObject, PropertyPath)

Initializes a new instance observing the specified property path on the given propertySource.

public PropertyChangeNotifier(DependencyObject propertySource, PropertyPath property)

Parameters

propertySource DependencyObject
property PropertyPath

Fields

ValueProperty

Identifies the Value dependency property.

public static readonly DependencyProperty ValueProperty

Field Value

DependencyProperty

Properties

PropertySource

Gets the target object whose property is being observed. May return null if the target has been garbage collected.

public DependencyObject PropertySource { get; }

Property Value

DependencyObject

Value

Gets or sets the current value of the observed property.

[Bindable(true)]
public object Value { get; set; }

Property Value

object

Methods

Dispose()

public void Dispose()

Events

ValueChanged

Occurs when the observed property value changes.

public event Action ValueChanged

Event Type

Action