Listivew1.Focused.Item

  • Thread starter Thread starter A_PK
  • Start date Start date
A

A_PK

Hi, After I use Listview1.Focused.Item on the listview, the listview will be
selected, how can I make my listview itme unselected when I click somewhere
else.....
 
I believe you might handle ListView.LostFocus event and use this code
snippet to unselect current item:

if (youListView.FocusedItem != null)
youListView.FocusedItem.Selected = false;




Best regards,
Sergey Bogdanov
http://www.sergeybogdanov.com
 
Back
Top