VerticalSliceModifier

StockSharp.Xaml.Charting.ChartModifiers

The VerticalSliceModifier provides drawing of vertical slices based on collection of VerticalLineAnnotation Add to a UltrachartSurface and set VerticalLines collection to enable this behaviour

Inherits: VerticalSliceModifierBase

Constructors

VerticalSliceModifier
public VerticalSliceModifier()
verticalSliceModifier = VerticalSliceModifier()

Initializes a new instance of the VerticalSliceModifier class.

Properties

VerticalLines
public VerticalLineAnnotationCollection VerticalLines { get; set; }
value = verticalSliceModifier.VerticalLines
verticalSliceModifier.VerticalLines = value

Gets or sets VerticalLineAnnotationCollection of VerticalLineAnnotation for making vertical slices

Methods

DetachRolloverMarker
protected override void DetachRolloverMarker(FrameworkElement rolloverMarker)
verticalSliceModifier.DetachRolloverMarker(rolloverMarker)

Detaches a RolloverMarker from the ModifierSurface

rolloverMarker
The rollover marker.
GetIncludeSeries
public static bool GetIncludeSeries(DependencyObject obj)
result = VerticalSliceModifier.GetIncludeSeries(obj)

Gets the include Series or not

GetRolloverMarkerFrom
protected override FrameworkElement GetRolloverMarkerFrom(SeriesInfo seriesInfo)
result = verticalSliceModifier.GetRolloverMarkerFrom(seriesInfo)

Get rollover marker from SeriesInfo to place on chart

seriesInfo
GetSeriesInfoAt
protected override IEnumerable<SeriesInfo> GetSeriesInfoAt(Point point)
result = verticalSliceModifier.GetSeriesInfoAt(point)

Enumerates the RenderableSeries on the parent ParentSurface and gets SeriesInfo objects in given point

point
IsEnabledAt
protected override bool IsEnabledAt(Point point)
result = verticalSliceModifier.IsEnabledAt(point)

When overridden in derived classes, indicates whether mouse point is valid for current modifier

point
OnAttached
public override void OnAttached()
verticalSliceModifier.OnAttached()

Called when the element is attached to the Chart Surface

OnDetached
public override void OnDetached()
verticalSliceModifier.OnDetached()

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

OnIsEnabledChanged
protected override void OnIsEnabledChanged()
verticalSliceModifier.OnIsEnabledChanged()

Called when the IsEnabled property changes on this ChartModifierBase instance

OnParentSurfaceMouseLeave
protected override void OnParentSurfaceMouseLeave()
verticalSliceModifier.OnParentSurfaceMouseLeave()

Called when the mouse leaves the parent UltrachartSurface

SetIncludeSeries
public static void SetIncludeSeries(DependencyObject obj, bool value)
VerticalSliceModifier.SetIncludeSeries(obj, value)

Sets the include Series or not

Fields

IncludeSeriesProperty
public static readonly DependencyProperty IncludeSeriesProperty
value = VerticalSliceModifier.IncludeSeriesProperty

Defined IncludeSeries Attached Property

VerticalLinesProperty
public static readonly DependencyProperty VerticalLinesProperty
value = VerticalSliceModifier.VerticalLinesProperty

Defines the VerticalLines DependencyProperty