Chapter 3. Introducing the Font Viewer
What You’ll Learn in This Hour:
How to set up a new WPF project
Some basics of Visual Studio
The structure of a project
XAML files
Code-behind files
In this hour we’ll begin developing our first WPF application, a small but useful utility for browsing the fonts currently installed on your system. We’ll also learn the basics of setting up a WPF project in Visual Studio.
Building the Font Viewer
Let’s begin by talking about the application we would like to build.
It would be convenient to have a lightweight utility that would allow us to see all the fonts currently installed on our system. Additionally, we could enter some sample text and see it rendered in the selected font.
To do this, we’ll need the following:
A list ...
Get Sams Teach Yourself WPF in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.