ControlPaint.DrawComboButtonとは? わかりやすく解説

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

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

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Shared Sub DrawComboButton
 ( _
    graphics As Graphics, _
    x As Integer, _
    y As Integer, _
    width As Integer, _
    height As Integer, _
    state As ButtonState _
)
Dim graphics As Graphics
Dim x As Integer
Dim y As Integer
Dim width As Integer
Dim height As Integer
Dim state As ButtonState

ControlPaint.DrawComboButton(graphics, x, y, width, height, state)
public static void DrawComboButton
 (
    Graphics graphics,
    int x,
    int y,
    int width,
    int height,
    ButtonState state
)
public:
static void DrawComboButton (
    Graphics^ graphics, 
    int x, 
    int y, 
    int width, 
    int height, 
    ButtonState state
)
public static void DrawComboButton
 (
    Graphics graphics, 
    int x, 
    int y, 
    int width, 
    int height, 
    ButtonState state
)
public static function DrawComboButton
 (
    graphics : Graphics, 
    x : int, 
    y : int, 
    width : int, 
    height : int, 
    state : ButtonState
)

パラメータ

graphics

描画する Graphics。

x

輪郭の四角形の左上の x 座標。

y

輪郭の四角形の左上の y 座標。

width

コンボ ボックスの幅。

height

コンボ ボックスの高さ。

state

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

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

ControlPaint.DrawComboButton メソッド (Graphics, Rectangle, ButtonState)

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

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Shared Sub DrawComboButton
 ( _
    graphics As Graphics, _
    rectangle As Rectangle, _
    state As ButtonState _
)
Dim graphics As Graphics
Dim rectangle As Rectangle
Dim state As ButtonState

ControlPaint.DrawComboButton(graphics, rectangle, state)
public static void DrawComboButton
 (
    Graphics graphics,
    Rectangle rectangle,
    ButtonState state
)
public:
static void DrawComboButton (
    Graphics^ graphics, 
    Rectangle rectangle, 
    ButtonState state
)
public static void DrawComboButton
 (
    Graphics graphics, 
    Rectangle rectangle, 
    ButtonState state
)
public static function DrawComboButton
 (
    graphics : Graphics, 
    rectangle : Rectangle, 
    state : ButtonState
)

パラメータ

graphics

描画する Graphics。

rectangle

コンボ ボックスの大きさを表す Rectangle。

state

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

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照

ControlPaint.DrawComboButton メソッド

コンボ ボックス コントロールのドロップダウン ボタンを描画します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
ControlPaint.DrawComboButton (Graphics, Rectangle, ButtonState) コンボ ボックス コントロールのドロップダウン ボタンを、指定した状態で、指定したグラフィックスの表面の指定した範囲内に描画します。
ControlPaint.DrawComboButton (Graphics, Int32, Int32, Int32, Int32, ButtonState) コンボ ボックス コントロールのドロップダウン ボタンを、指定した状態で、指定したグラフィックスの表面の指定した範囲内に描画します。
参照参照

関連項目

ControlPaint クラス
ControlPaint メンバ
System.Windows.Forms 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「ControlPaint.DrawComboButton」の関連用語

ControlPaint.DrawComboButtonのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ControlPaint.DrawComboButtonのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS