System.Windows.Forms.GroupBoxRenderer.DrawParentBackground Method

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

Syntax

public static void DrawParentBackground (System.Drawing.Graphics g, System.Drawing.Rectangle bounds, Control childControl)

Parameters

g
The System.Drawing.Graphics used to draw the background of the parent of childControl.
bounds
The 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
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0