ControlPaint.DrawCheckBox Metod

Definition

Ritar en kryssrutekontroll.

Överlagringar

Name Description
DrawCheckBox(Graphics, Rectangle, ButtonState)

Ritar en kryssrutekontroll i det angivna tillståndet, på den angivna grafikytan och inom de angivna gränserna.

DrawCheckBox(Graphics, Int32, Int32, Int32, Int32, ButtonState)

Ritar en kryssrutekontroll i det angivna tillståndet, på den angivna grafikytan och inom de angivna gränserna.

DrawCheckBox(Graphics, Rectangle, ButtonState)

Källa:
ControlPaint.cs
Källa:
ControlPaint.cs
Källa:
ControlPaint.cs
Källa:
ControlPaint.cs
Källa:
ControlPaint.cs

Ritar en kryssrutekontroll i det angivna tillståndet, på den angivna grafikytan och inom de angivna gränserna.

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

Parametrar

graphics
Graphics

Att Graphics dra på.

rectangle
Rectangle

Det Rectangle som representerar måtten i kryssrutan.

state
ButtonState

En bitvis kombination av de ButtonState värden som anger tillståndet för att dra kryssrutan i.

Gäller för

DrawCheckBox(Graphics, Int32, Int32, Int32, Int32, ButtonState)

Källa:
ControlPaint.cs
Källa:
ControlPaint.cs
Källa:
ControlPaint.cs
Källa:
ControlPaint.cs
Källa:
ControlPaint.cs

Ritar en kryssrutekontroll i det angivna tillståndet, på den angivna grafikytan och inom de angivna gränserna.

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

Parametrar

graphics
Graphics

Att Graphics dra på.

x
Int32

X-koordinaten för det övre vänstra hörnet i ritningsrektangeln.

y
Int32

Y-koordinaten för det övre vänstra hörnet i ritningsrektangeln.

width
Int32

Kryssrutans bredd.

height
Int32

Kryssrutans höjd.

state
ButtonState

En bitvis kombination av de ButtonState värden som anger tillståndet för att dra kryssrutan i.

Gäller för