Spread Windows Forms 6.0 Product Documentation
DrawBackground Method
See Also  Support Options
FarPoint.Win Assembly > FarPoint.Win Namespace > FpVisualStyleRenderer Class : DrawBackground Method


idc
The System.Drawing.IDeviceContext used to draw the background image.
bounds
A System.Drawing.Rectangle in which the background image is drawn.

Glossary Item Box

Initializes a new instance of FarPoint.Win.FpVisualStyleRenderer.

Syntax

Visual Basic (Declaration) 
Public Sub DrawBackground( _
   ByVal idc As IDeviceContext, _
   ByVal bounds As Rectangle _
) 
Visual Basic (Usage)Copy Code
Dim instance As FpVisualStyleRenderer
Dim idc As IDeviceContext
Dim bounds As Rectangle
 
instance.DrawBackground(idc, bounds)
C# 
public void DrawBackground( 
   IDeviceContext idc,
   Rectangle bounds
)

Parameters

idc
The System.Drawing.IDeviceContext used to draw the background image.
bounds
A System.Drawing.Rectangle in which the background image is drawn.

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

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.