Xceed Grid for WinForms v4.3 Documentation
MaxDropDownItems Property


Xceed.Grid.v4.3 Assembly > Xceed.Editors Namespace > WinComboBox Class : MaxDropDownItems Property
Gets or sets the maximum number of items that can be shown in the combobox's dropdown.
Syntax
'Declaration
 
<DescriptionAttribute("The maximum number of items that can be shown in the combobox's dropdown.")>
<CategoryAttribute("DropDown")>
Public Property MaxDropDownItems As Integer
'Usage
 
Dim instance As WinComboBox
Dim value As Integer
 
instance.MaxDropDownItems = value
 
value = instance.MaxDropDownItems
[Description("The maximum number of items that can be shown in the combobox's dropdown.")]
[Category("DropDown")]
public int MaxDropDownItems {get; set;}

Property Value

A value representing the maximum number of items that can be shown in the combobox's dropdown. If -1, then an unlimited number of items can be shown. By default, DefaultMaxDropDownItems.
Remarks

Even if set to -1, the space available to display the items will be limited by the screen.

The value of this property is only taken into consideration if the IntegralHeight property is set to true.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WinComboBox Class
WinComboBox Members