ControlPaint.DrawMixedCheckBox Metod

Definition

Ritar en kryssrutekontroll med tre tillstånd.

Överlagringar

Name Description
DrawMixedCheckBox(Graphics, Rectangle, ButtonState)

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

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

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

DrawMixedCheckBox(Graphics, Rectangle, ButtonState)

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

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)

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.

Se även

Gäller för

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

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

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)

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.

Se även

Gäller för