8 Replies
You could create a data template in whose style you put a DataTrigger bound to a bool of the data type to be displayed, with which you can evaluate whether the background or any other property of the list item should be different than normal
What UI platform are on? WPF, winforms, avalonia, blazor...?
winforms
Then the advice above does not apply
How are you adding the data to your listview?
And a side question, was WinForms your choice, i.e., is this your project? If yes, it is strongly recommend to ditch winforms and use something like WPF. Styling anything in WinForms is horrible
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.How can i make this?
Make what
I misunderstood, sorry