Drop-Down List Sizing

By default, the size of the drop-down list is determined by the width of the widest C1ComboBoxItem item and the collective height of all of the C1ComboBoxItem items, as the DropDownWidth and DropDownHeight properties are both set to NaN.

You can control the maximum width and maximum height of the drop-down list by setting the C1ComboBox control's MaxDropDownWidth and MaxDropDownHeight properties. Setting these properties ensures that the area of the drop-down list can never expand to a larger area than you've specified. If the width or height of the list exceeds the specified maximum height and width, scrollbars will automatically be added to the drop-down list. 

For task-based help on drop-down list sizing, see Setting the Maximum Height and Maximum Width of the Drop-Down List.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.