SeriesSelectionModifier

StockSharp.Xaml.Charting.ChartModifiers

Provides the ability to select series via a Chart Modifier

Inherits: InspectSeriesModifierBase

Constructors

SeriesSelectionModifier
public SeriesSelectionModifier()
seriesSelectionModifier = SeriesSelectionModifier()

Initializes a new instance of the SeriesSelectionModifier class.

Properties

SelectedSeriesStyle
public Style SelectedSeriesStyle { get; set; }
value = seriesSelectionModifier.SelectedSeriesStyle
seriesSelectionModifier.SelectedSeriesStyle = value

Gets or sets a style for selected series.

Methods

ClearAll
protected override void ClearAll()
seriesSelectionModifier.ClearAll()

When overriden in a derived class, this method should clear all markers and tooltips from the ModifierSurface

HandleMasterMouseEvent
protected override void HandleMasterMouseEvent(Point mousePoint)
seriesSelectionModifier.HandleMasterMouseEvent(mousePoint)

When overriden in a derived class, called to handle the Master ChartModifierBase MouseMove event

mousePoint
The current Mouse-point
HandleSlaveMouseEvent
protected override void HandleSlaveMouseEvent(Point mousePoint)
seriesSelectionModifier.HandleSlaveMouseEvent(mousePoint)

When overriden in a derived class, called to handle the Slave ChartModifierBase MouseMove event

mousePoint
The current Mouse-point
OnAttached
public override void OnAttached()
seriesSelectionModifier.OnAttached()

Called when the Chart Modifier is attached to the Chart Surface

OnModifierMouseUp
public override void OnModifierMouseUp(ModifierMouseArgs e)
seriesSelectionModifier.OnModifierMouseUp(e)

Called when a Mouse Button is released on the parent UltrachartSurface

e
Arguments detailing the mouse button operation
OnParentSurfaceRendered
public override void OnParentSurfaceRendered(UltrachartRenderedMessage e)
seriesSelectionModifier.OnParentSurfaceRendered(e)

Called when the parent UltrachartSurface is rendered

e
The UltrachartRenderedMessage which contains the event arg data
OnSelectedSeriesChanged
protected override void OnSelectedSeriesChanged(IEnumerable<IRenderableSeries> oldSeries, IEnumerable<IRenderableSeries> newSeries)
seriesSelectionModifier.OnSelectedSeriesChanged(oldSeries, newSeries)

Called when the parent surface SelectedSeries collection changes

oldSeries
newSeries

Events

SelectionChanged
public event EventHandler<EventArgs> SelectionChanged
seriesSelectionModifier.SelectionChanged += handler

Event raised when the selection changes

Fields

SelectedSeriesStyleProperty
public static readonly DependencyProperty SelectedSeriesStyleProperty
value = SeriesSelectionModifier.SelectedSeriesStyleProperty

Defines the SelectedSelectedSeriesStyle DependencyProperty