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