Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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