How to automatically change height of RadComboBox dropdown?

1 Answer 65 Views
ComboBox
Kevin
Top achievements
Rank 1
Kevin asked on 17 Jul 2023, 04:04 PM

The default height of the RadComboBox dropdown doesn't change when the dropdown height is larger than it needs to be.  When there's only two options, there's a lot of blank space in dropdown.  How would I go about automatically fitting the height to the number of items in the dropdown?

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 19 Jul 2023, 08:29 AM

Hello Kevin, 

The ComboBox control provides a DrowDownHeight property. Here is the documentation for the DropDown: https://testdocs.telerik.com/devtools/maui/controls/combobox/configuration#dropdown-behavior You can use it to change the height of the dropdown. The property is bindable property. 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
ComboBox
Asked by
Kevin
Top achievements
Rank 1
Answers by
Didi
Telerik team
Share this question
or