VisualStyleRenderer.DrawParentBackground 메서드

정의

지정된 영역에서 컨트롤의 부모 배경을 그립니다.

public:
 void DrawParentBackground(System::Drawing::IDeviceContext ^ dc, System::Drawing::Rectangle bounds, System::Windows::Forms::Control ^ childControl);
public void DrawParentBackground(System.Drawing.IDeviceContext dc, System.Drawing.Rectangle bounds, System.Windows.Forms.Control childControl);
member this.DrawParentBackground : System.Drawing.IDeviceContext * System.Drawing.Rectangle * System.Windows.Forms.Control -> unit
Public Sub DrawParentBackground (dc As IDeviceContext, bounds As Rectangle, childControl As Control)

매개 변수

dc
IDeviceContext

IDeviceContext 의 부모 배경을 그리는 데 사용되는 항목입니다childControl. 이 개체는 일반적으로 자식 컨트롤에 속합니다.

bounds
Rectangle

Rectangle 부모 컨트롤의 배경을 그릴 A입니다. 이 사각형은 자식 컨트롤의 범위 내에 있어야 합니다.

childControl
Control

부모의 배경을 그릴 컨트롤입니다.

예외

dcnull입니다.

적용 대상