VisualStyleElement.ComboBox.DropDownButton クラス
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)


VisualStyleElement.ComboBox.DropDownButton クラスのそれぞれのプロパティが、コンボ ボックス コントロールにあるドロップダウン矢印のさまざまな状態用に VisualStyleElement を返します。
Windows XP Home Edition, Windows XP Professional x64 Edition, Windows Server 2003 プラットフォームメモ : visual スタイルは、これらのプラットフォームでのみサポートされます。

次のコード例は、Hot プロパティから返された VisualStyleElement を使用して VisualStyleRenderer を作成する方法を示しています。この例を実行するには、コードを Windows フォームに貼り付けます。フォームの Paint イベントを処理し、e を PaintEventArgs として渡して、Paint イベント処理メソッドから DrawVisualStyleElement_Button_DropDownButton2 メソッドを呼び出します。
Public Sub DrawVisualStyleElement_ComboBox_DropDownButton2(ByVal e As PaintEventArgs) If (VisualStyleRenderer.IsElementDefined( _ VisualStyleElement.ComboBox.DropDownButton.Hot)) Then Dim renderer As New VisualStyleRenderer _ (VisualStyleElement.ComboBox.DropDownButton.Hot) Dim rectangle1 As New Rectangle(10, 50, 50, 50) renderer.DrawBackground(e.Graphics, rectangle1) e.Graphics.DrawString("VisualStyleElement.ComboBox.DropDownButton.Hot", _ Me.Font, Brushes.Black, New Point(10, 10)) Else e.Graphics.DrawString("This element is not defined in the current visual style.", _ Me.Font, Brushes.Black, New Point(10, 10)) End If End Sub
public void DrawVisualStyleElement_ComboBox_DropDownButton2(PaintEventArgs e) { if (VisualStyleRenderer.IsElementDefined( VisualStyleElement.ComboBox.DropDownButton.Hot)) { VisualStyleRenderer renderer = new VisualStyleRenderer(VisualStyleElement.ComboBox.DropDownButton.Hot); Rectangle rectangle1 = new Rectangle(10, 50, 50, 50); renderer.DrawBackground(e.Graphics, rectangle1); e.Graphics.DrawString("VisualStyleElement.ComboBox.DropDownButton.Hot" , this.Font, Brushes.Black, new Point(10, 10)); } else e.Graphics.DrawString("This element is not defined in the current visual style.", this.Font, Brushes.Black, new Point(10, 10)); }

System.Windows.Forms.VisualStyles.VisualStyleElement.ComboBox.DropDownButton


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


VisualStyleElement.ComboBox.DropDownButton プロパティ

名前 | 説明 | |
---|---|---|
![]() | Disabled | 無効の状態のドロップダウン矢印を表す visual スタイル要素を取得します。 |
![]() | Hot | ホットな状態のドロップダウン矢印を表す visual スタイル要素を取得します。 |
![]() | Normal | 通常の状態のドロップダウン矢印を表す visual スタイル要素を取得します。 |
![]() | Pressed | 押された状態のドロップダウン矢印を表す visual スタイル要素を取得します。 |

VisualStyleElement.ComboBox.DropDownButton メソッド

名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 ( Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 ( Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 ( Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 ( Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 ( Object から継承されます。) |

VisualStyleElement.ComboBox.DropDownButton メンバ
コンボ ボックス コントロールにあるドロップダウン矢印のさまざまな状態用の VisualStyleElement オブジェクトを提供します。このクラスは継承できません。
VisualStyleElement.ComboBox.DropDownButton データ型で公開されるメンバを以下の表に示します。

名前 | 説明 | |
---|---|---|
![]() | Disabled | 無効の状態のドロップダウン矢印を表す visual スタイル要素を取得します。 |
![]() | Hot | ホットな状態のドロップダウン矢印を表す visual スタイル要素を取得します。 |
![]() | Normal | 通常の状態のドロップダウン矢印を表す visual スタイル要素を取得します。 |
![]() | Pressed | 押された状態のドロップダウン矢印を表す visual スタイル要素を取得します。 |

名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 2 つの Object インスタンスが等しいかどうかを判断します。 (Object から継承されます。) |
![]() | GetHashCode | 特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用に適しています。 (Object から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |

名前 | 説明 | |
---|---|---|
![]() | Finalize | Object がガベージ コレクションにより収集される前に、その Object がリソースを解放し、その他のクリーンアップ操作を実行できるようにします。 (Object から継承されます。) |
![]() | MemberwiseClone | 現在の Object の簡易コピーを作成します。 (Object から継承されます。) |

Weblioに収録されているすべての辞書からVisualStyleElement.ComboBox.DropDownButtonを検索する場合は、下記のリンクをクリックしてください。

- VisualStyleElement.ComboBox.DropDownButtonのページへのリンク