Sunday, 15 May 2011

silverlight: datagrid column header with image and implement a filter - custom column header

We can achieve this by using the celltemplate which is present in datagridtemplatecolumn. The below code explains you everything

<data:DataGridTemplateColumn Header="Clip Type">
                                        <Image Width="15" Margin="3" Height="15" Source="{Binding IsLocalClip, Converter={StaticResource DataConverter},ConverterParameter='IsLocalClip'}"></Image>

Hope this helps!


  1. This is a nice article..
    Its very easy to understand ..
    And this article is using to learn something about it.., c#, javascript
    Thanks a lot..!