How to get available fonts in WPF

Using System.Drawings System.Drawing.FontFamily.Families brings me more families than those that are supported for WPF, or at least there is something strange with some of the fonts that don't display. Is there any other way to get a collection of all existing fonts?

+6
fonts wpf
source share
1 answer

Here you have a clean XAML example:

http://blogs.msdn.com/text/archive/2006/06/20/592777.aspx

The key part:

<CollectionViewSource Source="{Binding Source={x:Static Fonts.SystemFontFamilies}}" x:Key="familyCollection"/> 
+17
source share

All Articles