What seems to be so trivial on the web feels like jumping through hoops in WPF. But yet again, it's actually that difficult really. Here is how to do:
Custom Fonts in WPF
- Download the TrueType font (.ttf) you are interested in, e.g.
Find the system name of the font which is most likely different to the filename
- Add the file to your WPF solution preferably in its own directory like 'fonts'
Check the properties of the font file and make sure the Build Action is set to 'Resource'
Add the style reference to App.xaml
Include the font x:Key as the StaticResource Style attribute to your TextBlock elements
- To find the Text of a FontAwesome please refer to the
Here is how this little snippet will look like:
- CSS3 secrets - 10 things you might not know about CSS3 (by Lea Verou)
- Announcing jQuery Mobile 1.0 (by jQuery Mobile, Todd Parker)
- NASA now seeking candidates for astronaut positions (by NASA)
- A Look Inside Mobile Design Patterns (by Theresa Neil)
- Using Fonts for Icons… (by Chris Coyier)
- Make Your Own Fonts: Free Font Editors (Elsewhere on the Web) (by Jacob Gube)
- Which Custom Web Fonts Solution Should You Use? (by Chris Spooner)
- Create CSS3 Buttons Compatible with All Browsers (by Madalin Tudose)
- Quantifiable Design: How to Remove Subjectivity from the Process (by Stuart Silverstein)
- 25 Google+ tips and tricks (by Vail Joy)
Download 500+ Free Stunning PC Icons
You'll find 10 sets of 1000 high-quality free .png icons in sizes 16x16 & 32x32 for bloggers and web designers to use in private & commercial projects (Creative Commons Attribution 3.0 License). Loving it!
- Embedding User Experience in the Product Development Lifecycle (by Mike Hughes) - yes, users are not the only influencers during requirments.
- A Brief History of Eye-Tracking (by David Leggett) - really brief and easy to digest!
- Download Woven Fabric Social Media icons (by Jon Cavan) - if you love icons as much as I do you need to get these social media icons as reported by Webdesigner Depot
- The Simplicity of Helvetica (by Cameron Chapman) - what's all the buzz about Helvetica? If you still don't know a must read...
- 20 User Experience Books you should own (by Bradley Hebdon) - Excellent compilation and well worth a skim through.
Michael Gaigg is Lead UI Engineer in Esri's Professional Services Division.
He has been designing map applications for over 13 years and is currently leading a team of the most talented and innovative UI engineers and designers at Esri.
- Accessibility (16)
- Cartography (1)
- Code Samples & Tips (16)
- Conclusions (7)
- Design Guidelines (12)
- Designing Map Interfaces (7)
- Go figure (9)
- Good News (28)
- Here and there (31)
- Map Applications (14)
- This Week's Highlights (53)
- Usability & UCD (28)
- Web Design (31)
- 15 Outstanding Examples of Braille in our World
- Dashboard Design
- Job Posting: User Interface (UI) Engineer at ESRI
- Powerpoint Wireframe Stencils as Free Download
- Esri listens to their Users and changes Pronunciation of its Name
- Redundancy is NOT bad!