Whenever I see a question along the lines of "How can I include an image alongside each item in a list of items or use more than one font, or varying background colors?" I usually find myself muttering "WPF!". This is a lot more sociable and positive than many of the things I mutter as I sit here each day, but finally I've realised that I need to do something about it.
The result is this article, which works through the steps needed to harness the rich UI features of WPF to the more familiar paradigm of Windows Forms.
The example used will show you how easy it can be to use a WPF control in a Windows Forms application and you can use this article as the stepping stone to creating your own. The ListBox layout shown below will be created in WPF and ported over to be used in a Windows Forms application.
[read article...]
|