Table of Contents

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 INotifyPropertyChanged
nameFrom string
namesTo 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 T

Property backing field.

value T

New value.

propertyName string

Name of the property.

Returns

bool

Type Parameters

T

Value type.

Events

PropertyValueChanging

Raised before property value is changed.

public event Action<object, string, object> PropertyValueChanging

Event Type

Action<object, string, object>