ToolStripComboBox::MaxDropDownItems Property

 

Gets or sets the maximum number of items to be shown in the drop-down portion of the ToolStripComboBox.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property int MaxDropDownItems {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The 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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: