Compartilhar via


GroupBoxRenderer.DrawParentBackground(Graphics, Rectangle, Control) Método

Definição

Desenha a tela de fundo do pai de um controle na área especificada.

public:
 static void DrawParentBackground(System::Drawing::Graphics ^ g, System::Drawing::Rectangle bounds, System::Windows::Forms::Control ^ childControl);
public static void DrawParentBackground (System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.Control childControl);
static member DrawParentBackground : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.Control -> unit
Public Shared Sub DrawParentBackground (g As Graphics, bounds As Rectangle, childControl As Control)

Parâmetros

g
Graphics

O Graphics usado para desenhar a tela de fundo do pai de childControl.

bounds
Rectangle

O Rectangle no qual desenhar a tela de fundo do controle pai. Este retângulo deve estar dentro dos limites do controle filho.

childControl
Control

O controle cuja tela de fundo pai será desenhada.

Aplica-se a