Articles in this section

How can I set the font source to custom collection to the FontListComboBox?

 

The source of the FontListComboBox can be set to a custom collection as follows:


[C#]

FontCollection collection = new FontCollection();
collection.Add(new FontFamily("Albertus")); 
collection.Add(new FontFamily("Tahoma")); 
collection.Add(new FontFamily("Webdings")); 
collection.Add(new FontFamily("Algerian")); 
collection.Add(new FontFamily("Antique Olive")); 
collection.Add(new FontFamily("Global Serif")); 
FontBox.FontsSource = collection;
Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied