ListView.SelectedItems no setter!!

  • Thread starter Thread starter Jesper, Denmark
  • Start date Start date
J

Jesper, Denmark

Hi,

I've recently replaced a CheckedListBox control with a ListView control,
however I'm missing the SelectedItem set functionality, its equivalent in
ListView, SelectedItems, is only implemented as a getter. I really need a way
to programmatically be able to set the selected ListViewItem.

Anyone know how to do this?
Regards Jesper
 
Hi,

I've recently replaced a CheckedListBox control with a ListView control,
however I'm missing the SelectedItem set functionality, its equivalent in
ListView, SelectedItems, is only implemented as a getter. I really need
a way
to programmatically be able to set the selected ListViewItem.

I believe you need to do it directly to the ListViewItem, using the
Selected property.

Pete
 
Back
Top