Unselect a selected item in ListView control-DOT NET

In what way we can unselect a selected item in the ListView control programmatically in the .NET 4.0?

E

Expert

Verified

Syntax to unselect a selected item in a ListView control can be described in the following code:

Code for C#:

this.listView1.SelectedItems.Clear();

Code for VB:

Me.listView1.SelectedItems.Clear()

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.