Category Archives: Reference

Custom ScrollBars in WPF

The following post contains a basic example of how to customise the WPF ScrollView scroll bars. The original XAML was built using Expression Blend, and has been further simplified for clarity. The resulting ScrollView looks like this: Firstly, the ScrollViewerControlTemplate … Continue reading

Posted in Reference | Tagged , | 5 Comments

Smarter Loading Animations in WPF

An example of how to build a loading control that only appears after a delay. Any WPF application will need to handle loading delays gracefully. In most cases this involves showing a loading animation while the user waits for the … Continue reading

Posted in Reference | Tagged , , | Leave a comment

Full-Text Indexing for PDFs

In this post I’ll show how to enable full-text indexing of PDF documents using SQL Server 2008 (64-bit), and the Adobe iFilter component. The iFilter component is required to bridge the gap between the Windows Indexing Service and the PDF … Continue reading

Posted in Reference | Tagged , | Leave a comment

Essential Listening

Updated: 21/Feb/12 Over the past few months I’ve become a little obsessed with podcasts. Not just any podcasts, but developer podcasts. It hasn’t been easy finding them as they seem to be few and far between, which is why I … Continue reading

Posted in Reference | Tagged | Leave a comment

Handling SaveFileDialog with SaveDialogManager

Download SaveDialogManager.zip (19 KB) I hate re-inventing the wheel. If I find myself repeating code between projects I consider it a good time to build a component… so here it is, the SaveDialogManager class. The purpose is simple; to decide … Continue reading

Posted in Reference | Tagged , | Leave a comment

ASP.NET Numeric TextBox Server Control

Update This post is more of a demonstration for how to write a Web Forms Server Control, than a numeric text box. If you’re looking for a slicker solution using jQuery then I’d recommend reading this. Download NumericTextBox.zip (20 KB) … Continue reading

Posted in Reference | Tagged , | 12 Comments

C# Custom Event Handlers

Here’s a quick example for creating custom event handlers in C#. We start by creating our EventArgs object. This should inherit from the standard EventArgs class, and include the properties we want to pass when the event is fired: Next, … Continue reading

Posted in Reference | Tagged | Leave a comment