I have a custom DataGrid mixed with DataGridTemplateColumns and a custom behavior derived from this answer http://stackoverflow.com/questions/3970363/silverlight-datagrid-highlight-an-entire-column-when-that-column-is-sorted. The problem I'm experiencing is that any DataGridTemplateColumn's cells are not picking up the 'highlight'. The cell template being used for the custom columns are of the structure shown below. Anyone have any ideas why the background highlight isn't being applied? I've been wracking my brain on this one for a while.
<DataTemplate>
<Grid>
<Border VerticalAlignment='Stretch' Margin='1' Background='Transparent'>
<TextBlock VerticalAlignment='Center' Text='{Binding Path=Variable}' />
</Border>
</Grid>
</DataTemplate>