How to add checked items to listView?
in .net2 window form
this sample works, but items are not checked
listView.Items.Add(
new ListViewItem(new string[] { folderBrowser.SelectedPath }, group_1));
this sample doesn’t work, i want to add checked items
listView.Items.Add(
new ListViewItem(
new string[] { folderBrowser.SelectedPath },
group_1))
.Checked(true);
thankyou.
1 Answer