ChartBaseViewModel
StockSharp.Xaml.Charting
Base class for chart related view models.
Inherits: NotifiableObject
Methods
MapPropertyChangeNotification
protected void MapPropertyChangeNotification(INotifyPropertyChanged source, string nameFrom, string[] namesTo)
chartBaseViewModel.MapPropertyChangeNotification(source, nameFrom, namesTo)
Helper method to raise property change notifications on this object if the event was raised on another object .
- source
- nameFrom
- namesTo
SetField``1
protected bool SetField<T>(T field, T value, string propertyName)
result = chartBaseViewModel.SetField(field, value, propertyName)
Set property value and raise events.
- field
- Property backing field.
- value
- New value.
- propertyName
- Name of the property.
Events
PropertyValueChanging
public event Action<object, string, object> PropertyValueChanging
chartBaseViewModel.PropertyValueChanging += handler
Raised before property value is changed.