OnRender Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
When implemented in the Polygon class, this method participates in rendering operations that are directed by the layout system.
Namespace: Microsoft.SPOT.Presentation.Shapes
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Overrides Sub OnRender ( _
dc As DrawingContext _
)
public override void OnRender(
DrawingContext dc
)
public:
virtual void OnRender(
DrawingContext^ dc
) override
abstract OnRender :
dc:DrawingContext -> unit
override OnRender :
dc:DrawingContext -> unit
public override function OnRender(
dc : DrawingContext
)
Parameters
- dc
Type: Microsoft.SPOT.Presentation.Media. . :: . .DrawingContext
An object that contains the rendering (drawing) instructions for a Polygon object. This context is provided to the layout system.
Remarks
The rendering instructions for a Polygon object are not used directly when this method is invoked; instead, those instructions are preserved for later asynchronous use in layout and drawing operations.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.