Fill ComboBox with List of available Fonts

Viewed 47506

How can I fill a combo-box with a list of all the available fonts in the system?

7 Answers

Please keep in mind all will come from "System.Drawing"

foreach (System.Drawing.FontFamily font in System.Drawing.FontFamily.Families)
{
    comboBox1.Items.Add(font.Name);
}
Related