Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.25
OnRender Method
See Also 
Leadtools.Windows.Controls Namespace > BitmapSourceViewerElement Class : OnRender Method




drawingContext
The DrawingContext object used to render the BitmapSourceViewerElement control.
Allows the BitmapSourceViewerElement control to draw itself.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub OnRender( _
   ByVal drawingContext As DrawingContext _
) 
Visual Basic (Usage)Copy Code
Dim instance As BitmapSourceViewerElement
Dim drawingContext As DrawingContext
 
instance.OnRender(drawingContext)
C# 
protected override void OnRender( 
   DrawingContext drawingContext
)
Managed Extensions for C++ 
protected: void OnRender( 
   DrawingContext drawingContext
) override 
C++/CLI 
protected:
void OnRender( 
   DrawingContext drawingContext
) override 

Parameters

drawingContext
The DrawingContext object used to render the BitmapSourceViewerElement control.

Example

For C#/VB examples, refer to BitmapSourceViewerElement.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also