Selecting a ListView Row Programmatically

  • Thread starter Thread starter Marc W.
  • Start date Start date
M

Marc W.

Is there any way to do this? It would seem like it would be pretty obvious,
but I can't find a method that does this.

Thanks,
Marc
 
you have to use the "Selected" property of the "ListViewItem" object like thi

listView.Items.Selected = true;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top