語言

ControlPaint.DrawComboButton 方法

定義

在連擊盒控制上畫出一個下拉按鈕。

多載

名稱 Description
DrawComboButton(Graphics, Rectangle, ButtonState)

在指定狀態、圖形表面及範圍內,於組合框控制鍵上繪製下拉按鈕。

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

在指定狀態、圖形表面及範圍內,於組合框控制鍵上繪製下拉按鈕。

DrawComboButton(Graphics, Rectangle, ButtonState)

來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs

在指定狀態、圖形表面及範圍內,於組合框控制鍵上繪製下拉按鈕。

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)

來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs

在指定狀態、圖形表面及範圍內,於組合框控制鍵上繪製下拉按鈕。

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 的數值,指定要繪製組合盒的狀態。

適用於