Hello,
im trying to set the focus on a ListBoxItem so the User can navigate to the next Index by pressing the down button.
Our current implementation is that the focus is set on the RadListBox itself and not on the item but you need to double press down to get the second item.
Is there some way to set the focus on the items itself rather than the ListBox?
I already tried something like this but this is not working. if (ListBox.SelectedItem != null)
{
var item = ListBox.ItemContainerGenerator.ContainerFromIndex(ListBox.SelectedIndex);
if(item != null)
{
((RadListBoxItem)item).Focus();
}
else
{
ListBox.Focus();
}
}