Class ChartBaseViewModel
- Namespace
- StockSharp.Xaml.Charting
- Assembly
- StockSharp.Xaml.Charting.dll
Base class for chart related view models.
public class ChartBaseViewModel : NotifiableObject
- Inheritance
-
ChartBaseViewModel
- Derived
- 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
source
INotifyPropertyChangednameFrom
stringnamesTo
string[]
SetField<T>(ref T, T, string)
Set property value and raise events.
protected bool SetField<T>(ref T field, T value, string propertyName)
Parameters
field
TProperty backing field.
value
TNew value.
propertyName
stringName of the property.
Returns
Type Parameters
T
Value type.
Events
PropertyValueChanging
Raised before property value is changed.
public event Action<object, string, object> PropertyValueChanging