Disable horizontal scroll?

2 posts, 0 answers
  1. Dmitry
    Dmitry avatar
    20 posts
    Member since:
    Apr 2011

    Posted 15 Jun 2014 Link to this post

    I have seen that this is possible with WinForms control, but I cannot find a way to do this for WPF RadListBox.
    How can I fix the width of RadListBox items?
  2. Polya
    Admin
    Polya avatar
    199 posts

    Posted 16 Jun 2014 Link to this post

    Hi Dmitry,

    The ScrollViewer.HorizontalScrollBarVisibility attached property gets or sets a value that indicates whether a horizontal ScrollBar should be displayed. If we set it to Disabled or Hidden the ScrollBar will not appear even when the viewport cannot display all of the content.
    <telerik:RadListBox Width="60" ScrollViewer.HorizontalScrollBarVisibility="Hidden" ...>
    ...
    </telerik:RadListBox>

    Hopefully this helps.

    Regards,
    Polya
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top