Click or drag to resize
Task Scheduler Managed Class Library

CustomComboBoxMaxDropDownItems Property

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

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.12.1
Syntax
C#
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)]
[BrowsableAttribute(false)]
public int MaxDropDownItems { get; set; }
Request Example View Source

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
ExceptionCondition
ArgumentException The maximum number is set less than one or greater than 100.
See Also