BaseComboBoxCellMaxDropDownItems Property

Gets or sets the maximum number of items to be shown in the drop-down portion of the combo box when first displayed. It also controls how many items are skipped when paging up and down.

Definition

Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public int MaxDropDownItems { get; set; }

Property Value

Int32
The value must be between 1 and 100. The value is only used the first time the drop-down portion is shown. The drop-down is resizable and it will remember the last used size until it is disposed.

Exceptions

ArgumentOutOfRangeExceptionThis is thrown if the value is not between 1 and 100.

See Also