ControlPaint.DrawCheckBox Metoda

Definicja

Rysuje kontrolkę pola wyboru.

Przeciążenia

DrawCheckBox(Graphics, Rectangle, ButtonState)

Rysuje kontrolkę pola wyboru w określonym stanie, na określonej powierzchni grafiki i w określonych granicach.

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

Rysuje kontrolkę pola wyboru w określonym stanie, na określonej powierzchni grafiki i w określonych granicach.

DrawCheckBox(Graphics, Rectangle, ButtonState)

Rysuje kontrolkę pola wyboru w określonym stanie, na określonej powierzchni grafiki i w określonych granicach.

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)

Parametry

graphics
Graphics

Narysować Graphics .

rectangle
Rectangle

Element Rectangle reprezentujący wymiary pola wyboru.

state
ButtonState

Bitowa kombinacja ButtonState wartości, która określa stan, w który ma być rysowane pole wyboru.

Dotyczy

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

Rysuje kontrolkę pola wyboru w określonym stanie, na określonej powierzchni grafiki i w określonych granicach.

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)

Parametry

graphics
Graphics

Narysować Graphics .

x
Int32

Współrzędna x lewego górnego rogu prostokąta rysunku.

y
Int32

Współrzędna y lewego górnego rogu prostokąta rysunku.

width
Int32

Szerokość pola wyboru.

height
Int32

Wysokość pola wyboru.

state
ButtonState

Bitowa kombinacja ButtonState wartości, która określa stan, w który ma być rysowane pole wyboru.

Dotyczy