IRenderSurface
StockSharp.Xaml.Charting.Rendering.Common
Common interface for a RenderSurface, RenderSurfaceBase
Implementa: IDisposable, IHitTestable, IInvalidatableElement
Propriedades
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
Métodos
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
Eventos
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