Hello All,
I want to change the RowHeader of a DataGrid (just like changing the ColumnHeader) so can any one tell me how to do that?
For the ColumnHeader I did the following :
<my:DataGridTextBoxColumn.Header>
<StackPanel
Orientation="Horizontal">
<TextBlock
FontSize="12" Text="Arabic
1st Name"/>
<Path
x:Name="pathDescend"
Visibility="Collapsed"
StrokeLineJoin="Round" Stroke="#FF808080"
Fill="#FF808080"
Data="M 0 0 L 4 4 L 8 0
Z"
Height="11.521"
VerticalAlignment="Center" Width="13.145"/>
<Path
x:Name="pathAscend"
StrokeLineJoin="Round" Stroke="#FF808080"
Fill="#FF808080"
Data="M 0 0 L 4 4 L 8 0
Z"
Height="11.521"
VerticalAlignment="Center" Width="13.145"/>
</StackPanel>
</my:DataGridTextBoxColumn.Header>
and that works fine (I use it to sort the data)
Thanks.