Table of Contents
DropDownMaxItemCount Property

Gets or sets the maximum items to be displayed in the dropdown.

Syntax
 public Int32 DropDownMaxItemCount { get; set; }
Remarks

If both DropDownMaxItemCount and DropDownMaxHeight are set, DropDownMaxItemCount takes priority over DropDownMaxHeight. Also the value of this property is suggestive in nature --- the ComboBox may not be able to honor this value sometimes. For example, if different items have different height, then as user scrolls the drop down list, the number of visible items will change, thus making maintain a fixed number of visible items impossible.

See Also