Draw Event (IRenderSurface)
Raised each time the render surface is to be drawn. Handle this event to paint to the surface
Syntax
event EventHandler<DrawEventArgs> Draw
Event Data
The event handler receives an argument of type DrawEventArgs containing data related to this event. The following DrawEventArgs properties provide information specific to this event.
Property | Description |
---|---|
RenderSurface2D | Gets the IRenderSurface2D instance which raised the Draw event |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also