Monthly Archives: March 2011

WPF Gotcha: Easy Memory Leak

I strongly suggest that you implement INotifyPropertyChanged on any class that will be a binding source. I’ve been doing some memory profiling recently and ran into a HashTable outside of my code that was holding on to a reference to … Continue reading

Posted in WPF | Comments Off on WPF Gotcha: Easy Memory Leak

Bindable DataGrid Columns

Currently the WPF DataGrid supports two ways in which to generate columns: AutoGenerate and XAML declaration. AutoGenerating columns will produce a column for every property in the ItemsSource class, but the behavior can be altered by using the AutoGeneratingColumn event … Continue reading

Posted in C#, WPF | 6 Comments

Ribbon Tab Definition on UserControl

We’ve been using the Ribbon control provided by Microsoft on a project I’ve been working on. We started with the WPF toolkit Ribbon but recently upgraded to the .Net 4.0 version. The 4.0 version is much better than the WPF … Continue reading

Posted in srt, WPF | 9 Comments