Get every Row his own DataGridRowHeader - Possibel?

Jan 30, 2009 at 10:05 AM
Hello,

i want that every Row get his own DataGridRowHeader. Because i want list in the DataGridRowHeader.Content the Daynames

    <Style TargetType="{x:Type dg:DataGridRowHeader}">
        <Setter Property="Content" Value="Monday" />
        <Setter Property="Background" Value="{DynamicResource DataGridHeaderBackgroundBrush}"></Setter>

    </Style>

Whit this Code every DataGridRowHeader will named to Monday. I want something like this:
               Column1 | Column2 ...
Monday Row....
Tuesday Row...
Wednesday Row..

Is this possibel and how?
Coordinator
Jan 30, 2009 at 1:16 PM
You can bind Content to a property on your data item.  Of course if you want it to repeat you will have to implement that functionality yourself.