ToolStripComboBox.DropDownWidth プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ToolStripComboBox.DropDownWidth プロパティの意味・解説 

ToolStripComboBox.DropDownWidth プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

ToolStripComboBox のドロップダウン部分の幅をピクセル単位取得または設定します

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

Dim instance As ToolStripComboBox
Dim value As Integer

value = instance.DropDownWidth

instance.DropDownWidth = value
public int DropDownWidth { get;
 set; }
public:
property int DropDownWidth {
    int get ();
    void set (int value);
}
/** @property */
public int get_DropDownWidth ()

/** @property */
public void set_DropDownWidth (int
 value)
public function get DropDownWidth
 () : int

public function set DropDownWidth
 (value : int)

プロパティ
ドロップダウン ボックスの幅 (ピクセル単位)。

解説解説

ToolStripComboBox のドロップダウン部分の幅を取得または設定するには、DropDownWidth プロパティ使用します

使用例使用例

ToolStripComboBox対しDropDownWidth プロパティなど、各種プロパティ設定するための構文次のコード例示します

' The following code example demonstrates the syntax for setting
' various ToolStripComboBox properties.
' 
toolStripComboBox1.AutoCompleteCustomSource.AddRange(New String()
 {"aaa", "bbb", "ccc"})
toolStripComboBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend
toolStripComboBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource
toolStripComboBox1.DropDownHeight = 110
toolStripComboBox1.DropDownWidth = 122
toolStripComboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Standard
toolStripComboBox1.IntegralHeight = False
toolStripComboBox1.Items.AddRange(New Object()
 {"xxx", "yyy", "zzz"})
toolStripComboBox1.MaxDropDownItems = 9
toolStripComboBox1.MergeAction = System.Windows.Forms.MergeAction.Insert
toolStripComboBox1.Name = "toolStripComboBox1"
toolStripComboBox1.Size = New System.Drawing.Size(121, 25)
toolStripComboBox1.Sorted = True
// The following code example demonstrates the syntax for setting
// various ToolStripComboBox properties.
// 
toolStripComboBox1.AutoCompleteCustomSource.AddRange(new string[]
 {
"aaa",
"bbb",
"ccc"});
toolStripComboBox1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
toolStripComboBox1.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource;
toolStripComboBox1.DropDownHeight = 110;
toolStripComboBox1.DropDownWidth = 122;
toolStripComboBox1.FlatStyle = System.Windows.Forms.FlatStyle.Standard;
toolStripComboBox1.IntegralHeight = false;
toolStripComboBox1.Items.AddRange(new object[] {
"xxx",
"yyy",
"zzz"});
toolStripComboBox1.MaxDropDownItems = 9;
toolStripComboBox1.MergeAction = System.Windows.Forms.MergeAction.Insert;
toolStripComboBox1.Name = "toolStripComboBox1";
toolStripComboBox1.Size = new System.Drawing.Size(121, 25);
toolStripComboBox1.Sorted = true;
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からToolStripComboBox.DropDownWidth プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からToolStripComboBox.DropDownWidth プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からToolStripComboBox.DropDownWidth プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

ToolStripComboBox.DropDownWidth プロパティのお隣キーワード
検索ランキング

   

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



ToolStripComboBox.DropDownWidth プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS