Premium

The WPF Notepad Project: Font Dialog (Premium)

Avatar
8

We used XAML early on in this series to construct the main application window for .NETpad, which is, by nature very simple. But we’ll also use XAML to various build some custom dialogs, starting with the Font dialog. Among other things, these custom dialogs will give us a chance to install .NETpad with a bit more of a modern flavor. Take it a step beyond being a basic desktop application.

I’m happy about that. One of my goals with the WPF version of .NETpad is to bridge past with the present, and so all of the windows we’re creating in WPF purposefully embrace this framework’s resolution independence and display scaling capabilities. And in the custom dialogs, the controls I’m using, like buttons, are bigger than what you’d typically see in a legacy desktop application and are perhaps a bit more similarly sized to controls in mobile Universal Windows Platform (UWP) apps. That’s by design.

Gain unlimited access to Premium articles.

With technology shaping our everyday lives, how could we not dig deeper?

Thurrott Premium delivers an honest and thorough perspective about the technologies we use and rely on everyday. Discover deeper content as a Premium member.

Become a Premium Member Create a Free Account