int selectedIndex = lstRoot.SelectedIndex; lstRoot.SelectedIndex = 0; lstRoot.Focus(); lstRoot.SelectedIndex = selectedIndex;
lstRoot.Focus();
It through set focus on current scrolled item and easily up and down in listbox item.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)