ToolStripComboBox::MaxDropDownItems Property
.NET Framework (current version)
Gets or sets the maximum number of items to be shown in the drop-down portion of the ToolStripComboBox.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System::Int32The maximum number of items in the drop-down portion. The minimum for this property is 1 and the maximum is 100.
Use the MaxDropDownItems property to get or set the maximum number of items to show in the drop-down portion of the ToolStripComboBox.
The following code example demonstrates the syntax for setting various ToolStripComboBox properties, including the MaxDropDownItems property.
.NET Framework
Available since 2.0
Available since 2.0
Show: