System.Windows.Forms.VisualStyles.VisualStyleRenderer.DrawParentBackground Method

Draws the background of a control's parent in the specified area.

Syntax

public void DrawParentBackground (System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, System.Windows.Forms.Control childControl)

Parameters

dc
The System.Drawing.IDeviceContext used to draw the background of the parent of childControl. This object typically belongs to the child control.
bounds
A System.Drawing.Rectangle in which to draw the parent control's background. This rectangle should be inside the child control’s bounds.
childControl
The control whose parent's background will be drawn.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Windows.Forms.VisualStyles
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0