Click here to Skip to main content
14,825,162 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
How can i change the foreground color of a WPF listview cell,based on the cell value of the previous row in the same column.

For example :

row 1 contains cells {AA} {BB} {CC}
row 2 contains cells {AA} {BB} {DD}

I want now that on my listview in row 2 the first 2 items have the same color as the background (because they have the same value like the first 2 items in row 1)

The listview items are bound to a datatable.

Can someone points me to the right direction ?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900