GroupBoxRenderer.DrawParentBackground(Graphics, Rectangle, Control) メソッド

定義

指定領域にコントロールの親の背景を描画します。

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)

パラメーター

g
Graphics

childControl の親の背景を描画するときに使用する Graphics

bounds
Rectangle

親コントロールの背景を描画する Rectangle。 この四角形は、子コントロールの境界内に存在する必要があります。

childControl
Control

親の背景が描画されるコントロール。

適用対象