I am trying to build a grid of items, all dynamically (rows and columns) generated. I have a listview and gridview. I get all of the columns, and add them to the gridview. I then add all my rows to a table, and bind that to the listview.
I am using something similar to rotate the header names on the top of the view.
<ListView Name="lvEverything">
<ListView.Resources>
<Style TargetType="{x:Type GridViewColumnHeader}">
<Setter Property="LayoutTransform">
<Setter.Value>
<RotateTransform Angle="-90"/>
</Setter.Value>
</Setter>
<Setter Property="Width" Value="250"></Setter>
</Style>
</ListView.Resources>
This works fine, it rotates the text and makes the columns the right size for now.
What I would like to do though, it set the first column to NOT rotate. I am not sure and can not get it to only apply this to the columns I want it to.