語言

ControlPaint.DrawMixedCheckBox 方法

定義

繪製三狀態勾選框控制。

多載

名稱 Description
DrawMixedCheckBox(Graphics, Rectangle, ButtonState)

在指定狀態、指定的圖形表面及範圍內繪製三狀態勾選框控制項。

DrawMixedCheckBox(Graphics, Int32, Int32, Int32, Int32, ButtonState)

在指定狀態、指定的圖形表面及範圍內繪製三狀態勾選框控制項。

DrawMixedCheckBox(Graphics, Rectangle, ButtonState)

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

在指定狀態、指定的圖形表面及範圍內繪製三狀態勾選框控制項。

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

參數

graphics
Graphics

可以 Graphics 參考的。

rectangle
Rectangle

那 Rectangle 代表勾選框的尺寸。

state
ButtonState

一個位元組合 ButtonState 的值,指定要畫入的狀態。

另請參閱

適用於

DrawMixedCheckBox(Graphics, Int32, Int32, Int32, Int32, ButtonState)

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

在指定狀態、指定的圖形表面及範圍內繪製三狀態勾選框控制項。

public:
 static void DrawMixedCheckBox(System::Drawing::Graphics ^ graphics, int x, int y, int width, int height, System::Windows::Forms::ButtonState state);
public static void DrawMixedCheckBox(System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.ButtonState state);
static member DrawMixedCheckBox : System.Drawing.Graphics * int * int * int * int * System.Windows.Forms.ButtonState -> unit
Public Shared Sub DrawMixedCheckBox (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 的值,指定要畫入的狀態。

另請參閱

適用於