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

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

ToolStripComboBox.MaxDropDownItems プロパティ

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

ToolStripComboBox のドロップダウン部分表示される項目最大数を取得または設定します

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

<LocalizableAttribute(True)> _
Public Property MaxDropDownItems As
 Integer
Dim instance As ToolStripComboBox
Dim value As Integer

value = instance.MaxDropDownItems

instance.MaxDropDownItems = value
[LocalizableAttribute(true)] 
public int MaxDropDownItems { get;
 set; }
[LocalizableAttribute(true)] 
public:
property int MaxDropDownItems {
    int get ();
    void set (int value);
}
/** @property */
public int get_MaxDropDownItems ()

/** @property */
public void set_MaxDropDownItems (int
 value)
public function get MaxDropDownItems
 () : int

public function set MaxDropDownItems
 (value : int)

プロパティ
ドロップダウン部分表示される項目最大数。このプロパティ最小値は 1 で、最大値100 です。

解説解説

ToolStripComboBox のドロップダウン部分表示される項目最大数を取得または設定するには、MaxDropDownItems プロパティ使用します

使用例使用例

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

' 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.MaxDropDownItems プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からToolStripComboBox.MaxDropDownItems プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からToolStripComboBox.MaxDropDownItems プロパティ を検索

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS