PDA

View Full Version : [WPF/C#] Font Previewer



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:-)

gvozden
March 9th, 2007, 04:19 AM
hi kirupa,

I wonder why is that always is needed something new to be installed in WPF demo
I know why but that's pretty annoying, would be great if it work just click and see

kirupa
March 10th, 2007, 03:54 PM
I can make all of my examples work just online without a start menu shortcut, etc. as shown here: http://www.kirupa.com/net/clickOnce3.htm

I will do that for examples from now on.

:)

Krilnon
March 10th, 2007, 03:59 PM
I will do that for examples from now on.I think that many users will appreciate that!