How to lock a carousel inside a listbox

4 posts, 0 answers
  1. Rick Mueller
    Rick Mueller avatar
    103 posts
    Member since:
    Feb 2010

    Posted 30 May 2012 Link to this post

    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?
  2. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 31 May 2012 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Rick Mueller
    Rick Mueller avatar
    103 posts
    Member since:
    Feb 2010

    Posted 31 May 2012 Link to this post

    yes I tried.. But the touch feature of the listbox scroll is still active

    Thanks Rick
  5. Vanya Pavlova
    Admin
    Vanya Pavlova avatar
    2019 posts

    Posted 31 May 2012 Link to this post

    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 >>

Back to Top