RadListControl item focus

2 posts, 0 answers
  1. pogy
    pogy avatar
    17 posts
    Member since:
    Mar 2014

    Posted 29 Mar 2014 Link to this post

    Hi,

    my application have RadListControl with files and i want to focus current item when this item is no visible to because in order to see this item i need to use Vertical scroll bar.
    Any way to do that ?
  2. Dimitar
    Admin
    Dimitar avatar
    1414 posts

    Posted 02 Apr 2014 Link to this post

    Hi Pogy,

    Thank you for writing.

    If I understand correctly, you want to make the selected item visible by scrolling to it. This can be done with the ScrollToItem method:
    private void Form1_Load(object sender, EventArgs e)
    {
        radListControl1.ScrollToItem(radListControl1.Items[30]);
    }

    Do not hesitate to contact us if you have other questions.

    Regards,
    Dimitar
    Telerik

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top