IChartModifierBase

StockSharp.Xaml.Charting.ChartModifiers

A Base interface for common shared properties between ChartModifiers in the 2D and 3D Ultrachart libraries

Implements: IReceiveMouseEvents, INotifyPropertyChanged

Properties

DataContext
public object DataContext { get; set; }
value = iChartModifierBase.DataContext
iChartModifierBase.DataContext = value

Gets or sets the DataContext for this Chart Modifier

IsAttached
public bool IsAttached { get; set; }
value = iChartModifierBase.IsAttached
iChartModifierBase.IsAttached = value

Gets or sets whether this Chart Modifier is attached to a parent UltrachartSurface

ModifierName
public string ModifierName { get; }
value = iChartModifierBase.ModifierName

Gets modifier name

ModifierSurface
public IChartModifierSurface ModifierSurface { get; }
value = iChartModifierBase.ModifierSurface

Gets the IChartModifierSurface instance on the parent UltrachartSurface, which acts as a canvas to place UIElements

ReceiveHandledEvents
public bool ReceiveHandledEvents { get; }
value = iChartModifierBase.ReceiveHandledEvents

If true, this IChartModifier can receive handled events. Chart modifiers work similarly to mouse event handlers in WPF and Silverlight. If a modifier further up the stack receives an event and handles it, then subsequent modifiers do not receive the event. This property overrides this behaviour.

Services
public IServiceContainer Services { get; set; }
value = iChartModifierBase.Services
iChartModifierBase.Services = value

Gets the ServiceContainer which provides access to services throughout Ultrachart. ServiceContainers are created one per UltrachartSurface instance, and shared between peripheral components such as AxisBase, BaseRenderableSeries, ChartModifierBase instances. For a full list of available services, see the remarks on ServiceContainer

Methods

OnAttached
public void OnAttached()
iChartModifierBase.OnAttached()

Called when the Chart Modifier is attached to the Chart Surface

OnDetached
public void OnDetached()
iChartModifierBase.OnDetached()

Called immediately before the Chart Modifier is detached from the Chart Surface