Articles in this section
Category / Section

How to change the font in WinForms MultiColumnComboBox?

Font settings

In MutiColumnComboBox, you can customize the dropdown item's font by handling the QueryCellInfo event. The following code example demonstrates 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)
Access denied
Access denied