We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to apply font settings in the MultiColumnComboBox DropDown?

In the MultiColumnComboBox, GridListControl is used as the DropDown control, and its row size is not be applied based on the font settings. GridListControl row and column sizes can be updated based on its font size, by using the ResizeToFit function.

 

The following code example demonstrates the same.

C#

VB

 

Note: The Grid is displayed without hiding or wrapping text by using the ResizeToFit function in the GridControl.

Figure 1: Before selecting font in MultiColumnComboBox

Figure 2: After selecting font in MultiColumnComboBox without resizing rows and columns

Figure 3: Font specified in MultiColumnComboBox with resizing rows and columns

Sample Links:

C#: MultiColumnComboBox_ResizeToFit_C#

VB: MultiColumnComboBox_ResizeToFit_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
5407 09/04/2015 09/04/2015 Windows Forms MultiColumnComboBox
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.