Set focus on ListBoxItem

2 posts, 0 answers
  1. figueiredorj
    figueiredorj avatar
    68 posts
    Member since:
    Mar 2011

    Posted 22 May 2012 Link to this post


    Is there a way to focus being set on a RadListBoxItem? Setting binded selecteItem doesn't seem to work neither forcing selected index...

  2. Georgi
    Georgi avatar
    344 posts

    Posted 28 May 2012 Link to this post

    Hello Ricardo,

    I am attaching a simple project where you can see a simple implementation of how you can select RadListboxItem when you have ObservableCollection bound as an ItemsSource. If you don't have it bound you can just use the Focus method :

    (listBox.Items[1] as RadListBoxItem).Focus();

    Hope this will help.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft R3 2016 release webinar banner
Back to Top