Monday, 19 August 2013

who to bind listviewcolumn header into a column cell in WPF

who to bind listviewcolumn header into a column cell in WPF

i have this problem, i wanted to show my column header into my row cell,
something like this: >
<ListView.View>
<GridView x:Name="GV_Reporte">
<GridViewColumn Header="Order1"
DisplayMemberBinding="{Binding >'Order1'}"/>
<GridViewColumn Header="Order2"
DisplayMemberBinding="{Binding >'Order2'}"/>
<GridViewColumn Header="Order3"
DisplayMemberBinding="{Binding >'Order3'}"/>
</GridView>
</ListView.View>
</ListView>
but the problem is that i really dont know the name of the column they
will be created dinamicly, thats why i want to have the header somewhere.
i hope someone can help me. thanks.

No comments:

Post a Comment