ControlPaint.DrawMixedCheckBox Méthode

Définition

Dessine un contrôle case à cocher à trois états.

Surcharges

DrawMixedCheckBox(Graphics, Rectangle, ButtonState)

Dessine le contrôle case à cocher à trois états dans l'état spécifié, sur la surface graphique spécifiée et dans les limites spécifiées.

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

Dessine le contrôle case à cocher à trois états dans l'état spécifié, sur la surface graphique spécifiée et dans les limites spécifiées.

DrawMixedCheckBox(Graphics, Rectangle, ButtonState)

Dessine le contrôle case à cocher à trois états dans l'état spécifié, sur la surface graphique spécifiée et dans les limites spécifiées.

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)

Paramètres

graphics
Graphics

Graphics sur lequel dessiner.

rectangle
Rectangle

Rectangle représentant les dimensions de la case à cocher.

state
ButtonState

Combinaison d'opérations de bits des valeurs de ButtonState qui spécifie l'état dans lequel la case à cocher doit être dessinée.

Voir aussi

S’applique à

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

Dessine le contrôle case à cocher à trois états dans l'état spécifié, sur la surface graphique spécifiée et dans les limites spécifiées.

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)

Paramètres

graphics
Graphics

Graphics sur lequel dessiner.

x
Int32

Coordonnée x du coin supérieur gauche du rectangle de dessin.

y
Int32

Coordonnée y du coin supérieur gauche du rectangle de dessin.

width
Int32

Largeur de la case à cocher.

height
Int32

Hauteur de la case à cocher.

state
ButtonState

Combinaison d'opérations de bits des valeurs de ButtonState qui spécifie l'état dans lequel la case à cocher doit être dessinée.

Voir aussi

S’applique à