Stop RibbonView from disappearing

5 posts, 0 answers
  1. Daniel
    Daniel avatar
    1 posts
    Member since:
    Sep 2011

    Posted 07 May 2013 Link to this post

    Hi, 

    I'm would like to know if it's possible to stop the RibbonView from disappearing completely when the window has been shrunk beyond a certain point. I've tried using CollapseThreshold, and I've also specified that the Buttons can only use the large variant. This works to keep the buttons large, but at a certain window size the RibbonView will still disappear completely. I would like to modify this behavior so that the RibbonView never collapses. If this can be a system wide style or property change, that would be the optimal solution.

    Thanks you for your time and I look forward to hearing from you soon.

    Regards, 

    Dan
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 08 May 2013 Link to this post

    Hello Daniel,

    Have you tried setting the CollapseThresholdSize to 0,0? This should do the trick. We also attached a sample solution in the support thread you started so you can test it locally and let us know if there are any issues.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Alex Troto
    Alex Troto avatar
    20 posts
    Member since:
    Jul 2012

    Posted 23 Mar 2015 in reply to Tina Stancheva Link to this post

    Hi.
    I have the same problem. I've tried to set CollapseThresholdSize to 0,0, but there it's no change in behavior,groups are still colapsing
    Thanks,
    Alex
  5. Milena
    Admin
    Milena avatar
    201 posts

    Posted 24 Mar 2015 Link to this post

    Hi Alex,

    RadRibbonView.CollapseThresholdSize property allows you to control the size under which the ribbon will collapse - for instance when you resize the window or the control where the ribbon is hosted. 

    As for the ribbon groups - you can specify their size trough the GroupVariant property. If you want a group to be only in Large variant, you can do the following:

    <telerik:RadRibbonGroup>
       <telerik:RadRibbonGroup.Variants>
     <telerik:GroupVariant Variant="Large"/>
       </telerik:RadRibbonGroup.Variants>
              ...
    </telerik:RadRibbonGroup>

    More about the dynamic layout resizing in ribbonview you can find in our help topic Resizing.

    I hope this information is helpful.

    Regards,
    Milena
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  6. Alex Troto
    Alex Troto avatar
    20 posts
    Member since:
    Jul 2012

    Posted 24 Mar 2015 in reply to Milena Link to this post

    Hi Milena,
    Excelent response!
    Thanks,
    Alex
Back to Top
DevCraft banner