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

Horizontal ScrollBar Visibility

1 Answer 68 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Roni
Top achievements
Rank 1
Roni asked on 15 Mar 2012, 01:36 PM
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

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 20 Mar 2012, 09:09 AM
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 >>
Tags
ListBox
Asked by
Roni
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or