ChartBaseViewModel

StockSharp.Xaml.Charting

图表相关视图模型的基础类.

继承自: NotifiableObject

方法

MapPropertyChangeNotification
protected void MapPropertyChangeNotification(INotifyPropertyChanged source, string nameFrom, string[] namesTo)
chartBaseViewModel.MapPropertyChangeNotification(source, nameFrom, namesTo)

如果事件是针对另一个对象提出的,则在此对象上提出属性更改通知的帮助方法 。

source
nameFrom
namesTo
SetField``1
protected bool SetField<T>(T field, T value, string propertyName)
result = chartBaseViewModel.SetField(field, value, propertyName)

设定属性值并提升事件.

field
财产支撑栏.
value
新价值.
propertyName
财产名称.

事件

PropertyValueChanging
public event Action<object, string, object> PropertyValueChanging
chartBaseViewModel.PropertyValueChanging += handler

财产价值改变前提高。