This is a migrated thread and some comments may be shown as answers.

RadListControl item focus

1 Answer 33 Views
ListControl
This is a migrated thread and some comments may be shown as answers.
pogy
Top achievements
Rank 1
pogy asked on 29 Mar 2014, 08:18 PM
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 ?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 02 Apr 2014, 09:17 AM
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.

 
Tags
ListControl
Asked by
pogy
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or