0
Reply

How do I highlight a row in ListView?

Ask a question
kobus_2000

kobus_2000

19y
2.3k
1
Hi there I often use ListViews. I want to find out how to highlight a specific row using code. For example when the form loads. I am passing an object to the ListViews parent form and if the object exists in the ListView I would like to highlight the specific row. Also if I select another object on the ListView and the selectedItemChanged event fires, I need the manually highlighted row to be unselected and the new one selected. Thanks.