OnRender Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Draws a control to a display device.
Namespace: Microsoft.SPOT.Presentation.Controls
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
The drawing context that supplies the drawing instructions for a Control object. This context is provided to the layout system.
Remarks
This method must be implemented by all classes that derive from the Control class. Note that the Control class does not provide a default implementation.
.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.