ControlPaint.DrawComboButton 메서드

정의

Combo Box 컨트롤에 드롭다운 단추를 그립니다.

오버로드

DrawComboButton(Graphics, Rectangle, ButtonState)

지정된 그래픽 표면의 지정된 범위 내에 지정된 상태로 Combo Box 컨트롤의 드롭다운 단추를 그립니다.

DrawComboButton(Graphics, Int32, Int32, Int32, Int32, ButtonState)

지정된 그래픽 표면의 지정된 범위 내에 지정된 상태로 Combo Box 컨트롤의 드롭다운 단추를 그립니다.

DrawComboButton(Graphics, Rectangle, ButtonState)

지정된 그래픽 표면의 지정된 범위 내에 지정된 상태로 Combo Box 컨트롤의 드롭다운 단추를 그립니다.

public:
 static void DrawComboButton(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle rectangle, System::Windows::Forms::ButtonState state);
public static void DrawComboButton (System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.ButtonState state);
static member DrawComboButton : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.ButtonState -> unit
Public Shared Sub DrawComboButton (graphics As Graphics, rectangle As Rectangle, state As ButtonState)

매개 변수

graphics
Graphics

그릴 Graphics입니다.

rectangle
Rectangle

콤보 상자의 크기를 나타내는 Rectangle입니다.

state
ButtonState

콤보 상자를 그릴 상태를 지정하는 ButtonState 값의 비트 조합입니다.

적용 대상

DrawComboButton(Graphics, Int32, Int32, Int32, Int32, ButtonState)

지정된 그래픽 표면의 지정된 범위 내에 지정된 상태로 Combo Box 컨트롤의 드롭다운 단추를 그립니다.

public:
 static void DrawComboButton(System::Drawing::Graphics ^ graphics, int x, int y, int width, int height, System::Windows::Forms::ButtonState state);
public static void DrawComboButton (System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.ButtonState state);
static member DrawComboButton : System.Drawing.Graphics * int * int * int * int * System.Windows.Forms.ButtonState -> unit
Public Shared Sub DrawComboButton (graphics As Graphics, x As Integer, y As Integer, width As Integer, height As Integer, state As ButtonState)

매개 변수

graphics
Graphics

그릴 Graphics입니다.

x
Int32

테두리 사각형 왼쪽 위의 x좌표입니다.

y
Int32

테두리 사각형 왼쪽 위의 y좌표입니다.

width
Int32

콤보 상자의 너비입니다.

height
Int32

콤보 상자의 높이입니다.

state
ButtonState

콤보 상자를 그릴 상태를 지정하는 ButtonState 값의 비트 조합입니다.

적용 대상