ControlPaint.DrawCheckBox メソッド
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
チェック ボックス コントロールを描画します。
DrawCheckBox(Graphics, Rectangle, ButtonState) |
チェック ボックス コントロールを、指定した状態で、指定したグラフィックスの表面の指定した範囲内に描画します。 |
DrawCheckBox(Graphics, Int32, Int32, Int32, Int32, 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)
パラメーター
- state
- ButtonState
描画するチェック ボックスの状態を指定する ButtonState 値のビットごとの組み合わせ。
適用対象
.NET Framework 4.8.1 およびその他のバージョン
製品 | バージョン |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
チェック ボックス コントロールを、指定した状態で、指定したグラフィックスの表面の指定した範囲内に描画します。
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)
パラメーター
- x
- Int32
描画する四角形の左上隅の x 座標。
- y
- Int32
描画する四角形の左上隅の y 座標。
- width
- Int32
チェック ボックスの幅。
- height
- Int32
チェック ボックスの高さ。
- state
- ButtonState
描画するチェック ボックスの状態を指定する ButtonState 値のビットごとの組み合わせ。
適用対象
.NET Framework 4.8.1 およびその他のバージョン
製品 | バージョン |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。