Articles in this section
Category / Section

How to change the font in WinForms MultiColumnComboBox?

1 min read

Font settings

In MutiColumnComboBox, you can customize the dropdown items font by handling the QueryCellInfo event. The following code example is to demonstrate the same.

C#

this.multiColumnComboBox1.ListBox.Grid.QueryCellInfo += Grid_QueryCellInfo;
//Setting the Arial Black font for Grid
void Grid_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
{
    e.Style.Font.Facename = "Arial Black";
}

VB

AddHandler Me.multiColumnComboBox1.ListBox.Grid.QueryCellInfo, AddressOf Grid_QueryCellInfo
'Setting the Arial Black font for Grid
Private Sub Grid_QueryCellInfo(ByVal sender As Object, ByVal e As GridQueryCellInfoEventArgs)
 e.Style.Font.Facename = "Arial Black"
End Sub

The following screenshot illustrates the customized font in MultiColumnComboBox.

Customized the font in MultiColumnComboBox

Figure 1: Customized font in MultiColumnComboBox

Samples:

C#: https://www.syncfusion.com/downloads/support/directtrac/139533/MultiColumnComboBox1208835203.zip

VB: https://www.syncfusion.com/downloads/support/directtrac/136127/MultiColumnComboBox_VB1702503854.zip

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied