RadioButtonRenderer.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

Graphics 의 부모 배경을 그리는 데 사용되는 항목입니다childControl.

bounds
Rectangle

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

childControl
Control

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

설명

운영 체제에서 비주얼 스타일을 사용하도록 설정하고 현재 애플리케이션에 비주얼 스타일을 적용하는 경우 이 메서드는 현재 비주얼 스타일을 사용하여 옵션 단추(라디오 단추라고도 함)를 그립니다. 그렇지 않으면 이 메서드는 클래식 Windows 스타일을 사용하여 옵션 단추를 그립니다.

적용 대상