Microsoft Excel is a popular product and it's very common for end-users to expect a similar experience in any grid like control they use. The same goes for the Silverlight DataGrid where users expect a similar experience when it comes to filtering records. To create an excel filtering like experience in a Silverlight DataGrid, I am using a ControlTemplate using which you can add any kind of a UI element like the ComboxBox in the header. Let us get started:

Step 1: Open VS 2010 and create a new Silverlight project, name it as 'SL4_ComboBox_DataGrid_Column_Header'. In this project, add a new class file which contains the following classes:

Read More....