I'm working on a little WPF 4.5 sample app. As part of that, I needed to create a drop-down list of Font Families.
The Data Source
I wanted control over the fonts including sorting and, potentially, filtering the results. I didn't want to use static binding from XAML. So, in my viewmodel, I added a collection of FontFamily objects which is loaded by a LoadSystemFonts function.
Read More from: Original Source
Tuesday, April 3, 2012
Home
Unlabelled
A FontFamily ComboBox in WPF 4.5
A FontFamily ComboBox in WPF 4.5
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment