Share via


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

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

See Also

Reference

Polygon Class

Microsoft.SPOT.Presentation.Shapes Namespace