Showing posts with label GUI. Show all posts
Showing posts with label GUI. Show all posts

Wednesday, January 16, 2008

FontConverter.ConvertFromInvariantString - Add Italics

I didn't find the MSDN documentation very complete when it came to this. It was fairly obvious that I could feed "Verdana, 15.75pt" into the ConvertFromInvariantString method and get the right font returned, but I wasn't sure how to make that Italic. Since I am using this to skin my application, I wanted to put this string in a config file.

FontConverter fc = new FontConverter();Font headerFont = (Font)fc.ConvertFromInvariantString("Verdana, 15.75pt, style=Italic");

Wednesday, January 2, 2008

MSDN Webcast Portal - Seven Deadly Clicks!

First let me say that if you haven't checked out the WPF Soup To Nuts Webcast Series, I highly recommend it. My only problem here is that it takes a total of seven clicks to get to the content! Come on...where's that Web 2.0 experience?! If only they could throw these on MSDN Channel9.