Sample: Customisable ErrorProviders

Tonight I uploaded some code and wrote a short article for the CodeProject entitled “Customisable ErrorProviders“. The article provides a sample project which contains a base class that you can use to customise the way error messages are shown on your forms. Two of the attached samples include displaying a list of error messages, and […]

Sample: Custom drawn DataGridView Cells with GDI+

This code sample was inspired from a question that Adam Cogan asked me about the DataGridView:Â Suppose you wanted to show some kind of “bar graph” or a progress bar inside one of the columns of your grid. Here is an example:

In HTML, a common approach would be to use a 1px wide image, and […]

Article: Validation in Windows Presentation Foundation

I’ve just submitted an article to the Code Project titled: “Validation in Windows Presentation Foundation“. You can also view the article on this site, with much nicer formatting.
Here’s the gist of the article:

Under Windows Forms we had the ErrorProvider, and under ASP.NET we had Validator controls. In Windows Presentation Foundation, the approach is going […]

Tip: WPF ListView Optimisations

As I was preparing for my recent Asynchronous Business Objects talk the night before I was due to present, I got quite a scare. The whole talk essentially comes from my wish to make this page in Trial Balance:

To give you some background, calculating the balance for an account in Trial Balance could be slow […]

Sample: WPF Error Provider

I’ve just submitted a new article to the Code Project entitled “An Error Provider for Windows Presentation Foundation”. This isn’t so much an article (compared to my last one) as it is a code sample with commentary. I hope it’s useful.

“Whilst developing the new UI for Trial Balance, one of the hurdles I ran […]