Horizontal ScrollBar Visibility

2 posts, 0 answers
  1. Roni
    Roni avatar
    1 posts
    Member since:
    Feb 2012

    Posted 15 Mar 2012 Link to this post

    Hi,
    I am setting the list box orientation to Horizontal with this XAML
     
                               <telerik:RadListBox.ItemsPanel>
                                    <ItemsPanelTemplate>
                                        <VirtualizingStackPanel Orientation="Horizontal" />
                                    </ItemsPanelTemplate>
                                </telerik:RadListBox.ItemsPanel>

    and it's work fine but  i did not find how can i set the Horizontal ScrollBar Visibility

    e.g.
      VerticalScrollBarVisibility="Auto" or HorizontalScrollBarVisibility="Auto" 


    Thanks
    Roni Saar

    Software Developer, Intergraph Corporation.

    mailto:roni.saar@intergrapg.comwww.intergraph.com

  2. Georgi
    Admin
    Georgi avatar
    349 posts

    Posted 20 Mar 2012 Link to this post

    Hello Roni,

    Setting ScrollViewer.HorizontalScrollBarVisibility="Visible" property should work. In my example I have set it like this :

    <telerik:RadListBox x:Name="listBox" DataContext="{StaticResource ViewModel}"     ScrollViewer.VerticalScrollBarVisibility="Hidden"
    ScrollViewer.HorizontalScrollBarVisibility="Visible"
    ItemsSource="{Binding EnglandClubs}" DisplayMemberPath="Name">

    We are aware that there are some problems using ScrollViewer.VerticalScrollBarVisibility. We have logged it and we are working on it.

    Regards,
    Georgi
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top