How to hide scrollable panel's horizontal bar?

4 posts, 0 answers
  1. francis
    francis avatar
    1 posts
    Member since:
    Oct 2012

    Posted 26 Jul 2013 Link to this post


    How to hide scrollable panel's horizontal bar? Can you give me some code example?
  2. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 31 Jul 2013 Link to this post

    Hello Francis,

    Thank you for contacting Telerik Support.

    If you want to enable the scrollbars of RadScrollablePanel you should set its AutoScroll property to true:
    this.radScrollablePanel1.AutoScroll = true;

    But this enables both Horizontal and Vertical Scrollbars when it is necessary (because when one Scrollbar is shown,  the visible area gets smaller, so the other Scrollbar is shown too). Currently, RadScrollablePanel does not support the feature to hide one of the Scrollbars if the visible area is not enough for the content.
    We have this issue logged in our Public Issue Tracking System - PITS. You can track its progress, subscribe for status changes and add your vote/comment to it on the following link - PITS issue.

    I hope this information helps. Should you have further questions, I would be glad to help.

    Regards,
    Desislava
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. fariba
    fariba avatar
    21 posts
    Member since:
    May 2014

    Posted 22 Sep 2015 in reply to Dess Link to this post

    Hi

    How can set the similar code (AutoScroll = true;) For RadGroupBox?

    Regards,

    Fariba

  5. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 22 Sep 2015 Link to this post

    Hello Fariba,

    Thank you for writing.

    In order to make RadGroupBox scrollable, you can insert a RadScrollablePanel in it and dock it to fill the entire group box. Thus, if the available content does not fit the group box and its scrollable panel, vertical/horizontal scrollbars will be shown.

    I hope this information helps. Should you have further questions I would be glad to help.
     
    Regards,
    Dess
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top