Category Archives: WPF

Windows Presentation Foundation

A Virtual Keyboard for your WPF apps

A design for a Virtual Keyboard using WPF. Continue reading

Posted in C#, CodeProject, silverlight, Software Design, The .NET Framework, WPF | Tagged , | 37 Comments

WPF Tip #1: avoid App.Current.Shutdown

In your WPF application’s Exit command handler, be wary of calling App.Current.Shutdown unless you want to bypass the normal ‘Close’ process. It can result in your override of OnClosing to NOT be called, and your closing-event handlers don’t get called … Continue reading

Posted in WPF | Tagged | Leave a comment

Databinding in WPF/SilverLight

One of the more interesting features of the WPF/SilverLight framework, is databinding. And also one of the more confusing. I’m going to list a few tips here, to serve as a cheat-sheet.. By “source property” I mean that bit of … Continue reading

Posted in WPF | Tagged | 1 Comment

The C# Code-Formatting Standard

Digging into an existing software project of significant size can be confusing and, without a clear structure and organization of the code and the documentation, can result in a lot of wasted time. Structure guides and clarifies, and self-documents. Well, … Continue reading

Posted in beginner, C#, Software Design, The .NET Framework, The Development Process, WPF | Tagged , , | 3 Comments

ParseLib: A C# library for parsing values from a TextBox

(Note: I’ll come back to edit this post after I figure out how to properly format code for blog articles, and provide for downloadable sample code!) It’s common to use a TextBox control for entering numbers, dates and other data types that … Continue reading

Posted in C#, Software Design, WPF | Tagged , , | 2 Comments

Data-binding To A Simple C# class (WPF or Silverlight)

One of your most frequent needs when composing a GUI dialog is to ‘bind’ a property of one of your widgets to some kind of information source. WPF’s data binding capabilities provide a way to accomplish this very easily in … Continue reading

Posted in C#, Software Design, The .NET Framework, WPF | Tagged | 19 Comments