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

childControl의 부모에 대한 배경을 그리는 데 사용되는 Graphics입니다.

bounds
Rectangle

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

childControl
Control

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

설명

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

적용 대상