DataGrid Header Style For Template Column

Apr 21, 2009 at 11:42 AM
Hi Guys,

Can someone help me to simulate the same header look and feel that is available for other non-template columns of the data grid such as (Text\Combo\Check box) as I need to simulate sorting by clicking headers of template columns. (so it should be like a header button having lower orange border on mouseover and showing me up/down traingle arrow as sorting takes place) 

Can you guide me \ hint me towards the desired effect.

Thx very much,
Vinit Sankhe.
Apr 21, 2009 at 1:00 PM
You can set the SortMemberPath property on the DataGridTemplateColumn which will give you the same sorting ability as the other columns.