OnRender Method
See Also 
SourceCode.Workflow.WizardFramework.Controls Namespace > K2Button Class : OnRender Method



drawingContext
The drawing instructions for a specific element. This context is provided to the layout system.

Glossary Item Box

When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.

Syntax

Visual Basic (Declaration) 
Protected Overrides Sub OnRender( _
   ByVal drawingContext As DrawingContext _
) 
Visual Basic (Usage)Copy Code
Dim instance As K2Button
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 drawing instructions for a specific element. This context is provided to the layout system.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also