IChartModifierSurface

StockSharp.Xaml.Charting.Visuals

Defines the base interface to the Canvas that ChartModifierBase instances interact with

Implements: IHitTestable

Properties

Children
public ObservableCollection<UIElement> Children { get; }
value = iChartModifierSurface.Children

Gets the collection of UIElement children drawn on the canvas

ClipToBounds
public bool ClipToBounds { get; set; }
value = iChartModifierSurface.ClipToBounds
iChartModifierSurface.ClipToBounds = value

Gets or sets whether UIElements added to the ModifierSurface should clip to bounds or not

Methods

CaptureMouse
public bool CaptureMouse()
result = iChartModifierSurface.CaptureMouse()

Captures the mouse on the IChartModifierSurface canvas

Clear
public void Clear()
iChartModifierSurface.Clear()

Clears all children off the IChartModifierSurface

ReleaseMouseCapture
public void ReleaseMouseCapture()
iChartModifierSurface.ReleaseMouseCapture()

Releases the mouse capture on the IChartModifierSurface canvas