CustomComboBoxMaxDropDownItems Property

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

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.11.1
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
public int MaxDropDownItems { get; set; }

Property Value

Int32

Return Value

Int32
The maximum number of items of in the drop-down portion. The minimum for this property is 1 and the maximum is 100.

Exceptions

ArgumentException The maximum number is set less than one or greater than 100.

See Also