devxlogo

Deselect All Items in a ListView Control

Deselect All Items in a ListView Control

You must set Checked property for each ListViewItem to False to clear all the checked items.

'Declare the ListViewItemDim lvItem As ListViewItem' Change each item's Checked property to FalseFor Each lvItem In lvTables.Items   lvItem.Checked = FalseNext

devx-admin

Share the Post: