DrawEventArgs

StockSharp.Xaml.Charting.Rendering.Common

EventArgs raised when the Draw event is raised, which occurs at the start of the render pass

Inherits: EventArgs

Constructors

DrawEventArgs
public DrawEventArgs(IRenderSurface2D renderSurface)
drawEventArgs = DrawEventArgs(renderSurface)

Initializes a new instance of the DrawEventArgs class.

renderSurface
The render surface.

Properties

RenderSurface2D
public IRenderSurface2D RenderSurface2D { get; private set; }
value = drawEventArgs.RenderSurface2D
drawEventArgs.RenderSurface2D = value

Gets the IRenderSurface2D instance which raised the Draw event