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

How to double click a subitem

1 Answer 173 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
rui
Top achievements
Rank 1
rui asked on 07 Dec 2016, 08:38 AM

I have a confused issue 

There is a listbox   and it's  items is also listbox   I  want to do something when double the subitem listbox's item 

when the subitem listbox is not show full, click it's item once,  the listbox will  show full and the item's position will change,so can not double click  the item 

as the attach pic show   I can double click the "aaa" item  but can not doube click the "bbb" item when the second listbox is not show full

Is any solution to resolve this issue?

thank you

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 09 Dec 2016, 09:45 AM
Hi Rui,

In order to prevent the observed by you scrolling the IsScrollIntoViewEnabled property should be set to False. It is a property introduced with version R3 2015 SP1 and determines whether the selected item will automatically be scrolled into the view. By setting it to False you will be able to click the item as desired.

Hope this helps.

Regards,
Nasko
Telerik by Progress
Telerik UI for WPF is ready for Visual Studio 2017 RC! Learn more.
Tags
ListBox
Asked by
rui
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or