kirupa
March 8th, 2007, 09:52 PM
I was messing around with some of the data binding features in WPF, so to test it out I created a small application that allows you to preview a font by selecting a font from a drop-down menu and seeing the text in the textbox change:
http://www.kirupa.com/net/images/fontPreviewPicture.png
You can run the above program by following the instructions on the following link: http://www.kirupafx.com/FontPreview/publish.htm (http://www.kirupafx.com/FontPreview/publish.htm)
There is a lot of XAML for this, and the C# code is pretty straightforward, so I'll just save you all the screen space and attach the source files as an attachment.
Cheers!
Kirupa C:-)
http://www.kirupa.com/net/images/fontPreviewPicture.png
You can run the above program by following the instructions on the following link: http://www.kirupafx.com/FontPreview/publish.htm (http://www.kirupafx.com/FontPreview/publish.htm)
There is a lot of XAML for this, and the C# code is pretty straightforward, so I'll just save you all the screen space and attach the source files as an attachment.
Cheers!
Kirupa C:-)