Class ChartBaseViewModel
- Namespace
- StockSharp.Xaml.Charting
- Assembly
- StockSharp.Xaml.Charting.dll
Base class for chart related view models.
public class ChartBaseViewModel : NotifiableObject, INotifyPropertyChangedEx, INotifyPropertyChanged, INotifyPropertyChanging
- Inheritance
-
ChartBaseViewModel
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
ChartBaseViewModel()
public ChartBaseViewModel()
Methods
MapPropertyChangeNotification(INotifyPropertyChanged, string, params string[])
Helper method to raise property change notifications on this object if the event was raised on another object source.
protected void MapPropertyChangeNotification(INotifyPropertyChanged source, string nameFrom, params string[] namesTo)
Parameters
sourceINotifyPropertyChangednameFromstringnamesTostring[]
SetField<T>(ref T, T, string)
Set property value and raise events.
protected bool SetField<T>(ref T field, T value, string propertyName)
Parameters
fieldTProperty backing field.
valueTNew value.
propertyNamestringName of the property.
Returns
Type Parameters
TValue type.
Events
PropertyValueChanging
Raised before property value is changed.
public event Action<object, string, object> PropertyValueChanging