Is it possible to animate ListView items in C# ? The purpose is that I have a ListView that is asynchronously modified, and I’d like to animate smoothly the items that have been modified, until the user clicks them. This way items blinking, or whatever would do the trick, are the items that changed which haven’t been reviewed yet.
Thank you guys !
UPDATE : sorry, i forgot. Never used WPF before, and I think it’s too late to switch to it now. I’m using winforms.
I had to do something similar to what you are trying to do but instead of animating the ListView, I used custom checkbox layout in the list view to look different. The designer code for the ListView looks like:
Then I declared a list that will hold the selection of the user.
Here is the initialise method for the ListView. You need to manipulate here for the initial look of your listview.
This event triggers when the user selects an option in the list view. The selection is recorded in the list I created above and the checked image is displayed so that it looks like the user has selected the item.
You can probably fiddle with fonts and forecolor of these items … Each item within a List View is of type ListViewItem so you can individually manipulate it.
Hope this gives you some direction 🙂