次の方法で共有


ControlPaint.DrawRadioButton メソッド (Graphics, Int32, Int32, Int32, Int32, ButtonState)

オプション ボタン コントロールを、指定した状態で、指定したグラフィックスの表面の指定した範囲内に描画します。

Overloads Public Shared Sub DrawRadioButton( _
   ByVal graphics As Graphics, _   ByVal x As Integer, _   ByVal y As Integer, _   ByVal width As Integer, _   ByVal height As Integer, _   ByVal state As ButtonState _)
[C#]
public static void DrawRadioButton(Graphicsgraphics,intx,inty,intwidth,intheight,ButtonStatestate);
[C++]
public: static void DrawRadioButton(Graphics* graphics,intx,inty,intwidth,intheight,ButtonStatestate);
[JScript]
public static function DrawRadioButton(
   graphics : Graphics,x : int,y : int,width : int,height : int,state : ButtonState);

パラメータ

  • graphics
    描画する Graphics
  • x
    描画する四角形の左上隅の x 座標。
  • y
    描画する四角形の左上隅の y 座標。
  • width
    オプション ボタンの幅。
  • height
    オプション ボタンの高さ。
  • state
    描画するオプション ボタンの状態を指定する ButtonState 値のビットごとの組み合わせ。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

ControlPaint クラス | ControlPaint メンバ | System.Windows.Forms 名前空間 | ControlPaint.DrawRadioButton オーバーロードの一覧