IRenderSurface

StockSharp.Xaml.Charting.Rendering.Common

Common interface for a RenderSurface, RenderSurfaceBase

Implementiert: IDisposable, IHitTestable, IInvalidatableElement

Eigenschaften

IsSizeValidForDrawing : bool

Returns true if the RenderSurfaceBase size is valid for drawing

NeedsResizing : bool

Returns True if the RenderSurfaceBase size has changed and the viewport needs resizing

Services : IServiceContainer

Gets or sets the IServiceContainer instance

Style : Style

Gets or sets a Style to apply to the IRenderSurface2D

Methoden

Clear()

Clears the viewport

ClearSeries()

Clears all IRenderableSeries on the IRenderSurface2D

RecreateSurface()

Recreates the elements required by the Viewport, called once at startup and when the surface is resized

Ereignisse

Draw : EventHandler<DrawEventArgs>

Raised each time the render surface is to be drawn. Handle this event to paint to the surface

Rendered : EventHandler<RenderedEventArgs>

Raised immediately after a render operation has completed