Scrollbar always visible

2 posts, 0 answers
  1. Tom
    Tom avatar
    1 posts
    Member since:
    Oct 2014

    Posted 16 Mar 2016 Link to this post

    I have this xaml code:

                        <telerik:RadListBox x:Name="ActiveUnitList"


                                            ItemsSource="{Binding MyUnits}"
                                            ItemTemplate="{StaticResource UnitTemplate}"
                                            SelectedItem="{Binding MyUnits.MySelectedUnit, Mode=TwoWay}" />

    but the vertical scrollbar always shows up (even when the list of items fits in the listbox).  I've tried ...Visibility="Disabled" too but that didn't help.

    How can I force the scrollbar to disappear?

    -Thanks, Tom

  2. Yana
    Yana avatar
    4973 posts

    Posted 17 Mar 2016 Link to this post

    Hi Tom,

    I have tried to reproduce the described behavior inside the ListBox Configurator online example, however, the vertical scrollbar in the second RadListBox appeared only when needed ( you could set  Multiple SelectionMode and select items in the first RadListBox).  Could you give us more details on your scenario?

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top