ControlPaint.DrawCheckBox メソッド

定義

チェック ボックス コントロールを描画します。

オーバーロード

名前 説明
DrawCheckBox(Graphics, Rectangle, ButtonState)

指定した状態、指定したグラフィックスサーフェイス、および指定した境界内にチェック ボックス コントロールを描画します。

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

指定した状態、指定したグラフィックスサーフェイス、および指定した境界内にチェック ボックス コントロールを描画します。

DrawCheckBox(Graphics, Rectangle, ButtonState)

指定した状態、指定したグラフィックスサーフェイス、および指定した境界内にチェック ボックス コントロールを描画します。

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)

パラメーター

graphics
Graphics

描画する Graphics

rectangle
Rectangle

チェック ボックスの寸法を表す Rectangle

state
ButtonState

チェック ボックスを描画する状態を指定する ButtonState 値のビットごとの組み合わせ。

適用対象

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

指定した状態、指定したグラフィックスサーフェイス、および指定した境界内にチェック ボックス コントロールを描画します。

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)

パラメーター

graphics
Graphics

描画する Graphics

x
Int32

描画四角形の左上隅の x 座標。

y
Int32

描画四角形の左上隅の y 座標。

width
Int32

チェック ボックスの幅。

height
Int32

チェック ボックスの高さ。

state
ButtonState

チェック ボックスを描画する状態を指定する ButtonState 値のビットごとの組み合わせ。

適用対象