Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.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) 
Protected Overrides 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
)
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