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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Font List crashes

Thread ID:





84072 Jun 29,2009 09:01 AM UTC Jun 30,2009 03:19 PM UTC WPF 1
Tags: Tools
David Kim
Asked On June 29, 2009 09:01 AM UTC

When the system has the something wrong or non-standard fonts, the font list/combo makes application crash.

I think you'd better to skip that font or show some message.


Balavasanth [Syncfusion]
Replied On June 30, 2009 03:19 PM UTC

Hi David,

Thanks for choosing Syncfusion products.

Currently we did not come under the situation of passing the non standard fonts as source for the FontlistBox, any how we will ask our QA team to look in to this and we will try to implement a feature in such a way such issues will be fixed in the source level itself.

Anyhow as a workaround you can make use of the FontCollection to add or remove the fonts as per your requirement and set the collection as the Fontsource for the FontListbox. Kindly make use of the code snippet for more idea.

FontCollection collection = new FontCollection();
collection.Remove(new FontFamily("Albertus"));
collection.Add(new FontFamily("Tahoma"));
fontListBox.FontsSource = collection;

Please let us know if you have any queries.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon