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 > MagnifyGlass Class : OnRender Method



drawingContext
The DrawingContext object used to render MagnifyGlass 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 MagnifyGlass
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 MagnifyGlass control.

Example

For C#/VB examples, refer to MagnifyGlass.

Requirements

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

See Also