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

How to lock a carousel inside a listbox

3 Answers 81 Views
Carousel
This is a migrated thread and some comments may be shown as answers.
Rick Mueller
Top achievements
Rank 1
Rick Mueller asked on 30 May 2012, 08:38 PM
Have a touch screen app with a RadCarouselpanels populating a listbox.
(there are 3 usercontrols) . I only need to lock the scrolling on one of the usercontols.
So the user are able to use the touch features.

any thoughts?

3 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 31 May 2012, 11:28 AM
Hi Rick,

 


Have you tried to disable the ScrollViewer of these UserControls using the following properties 
ScrollViewer.VerticalScrollBarVisibility, ScrollViewer.HorizontalScrollBarVisibility? 


All the best,
Vanya Pavlova
the Telerik team

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

0
Rick Mueller
Top achievements
Rank 1
answered on 31 May 2012, 11:46 AM
yes I tried.. But the touch feature of the listbox scroll is still active

Thanks Rick
0
Vanya Pavlova
Telerik team
answered on 31 May 2012, 12:01 PM
Hi Rick,

 


Will you please try with this code-snippet:  

<ListBox Width="100" telerik:StyleManager.Theme="Office_Black" ItemsSource="{Binding}" ScrollViewer.VerticalScrollBarVisibility="Disabled" ScrollViewer.HorizontalScrollBarVisibility="Disabled"/>
 


All the best,
Vanya Pavlova 
the Telerik team

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

Tags
Carousel
Asked by
Rick Mueller
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Rick Mueller
Top achievements
Rank 1
Share this question
or