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

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

bounds
Rectangle

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

childControl
Control

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

예외

dc이(가) null인 경우

적용 대상