GroupVariant problem

3 posts, 0 answers
  1. Patrick
    Patrick avatar
    2 posts
    Member since:
    Oct 2016

    Posted 26 Oct Link to this post

    Hello,

    lastly, we have updated our old version of Telerik to the newest one. Now we have a problem with the RadRibbonGroups. 

    When we minimize the mainwindow, the RibbonGroups collapse.

     like these.

    But in the old version of Telerik when the mainwindow was to small, two scrollbuttons appeared

    on the left and right side of the RibbonView.

    Is there any opportunity to use these two buttons in the newest version without collapsing groups?

     

    thank you

  2. Tanya
    Admin
    Tanya avatar
    402 posts

    Posted 31 Oct Link to this post

    Hi Patrick,

    Yes, you can disable the collapsing of the groups and use the buttons to scroll the content of the tab by overriding the default GroupVariants in XAML. The following snippet shows you how to achieve that:
    <telerik:RadRibbonGroup Header="Tab 1 ">
        <telerik:RadRibbonGroup.Variants>
            <telerik:GroupVariant Variant="Large" />
        </telerik:RadRibbonGroup.Variants>

    Applying the code from the snippet, the GroupVariant will always be large. If you would like, you could also add Small and Medium Variants. More information about the Variants and the behavior of RadRibbonView when its size changes is available in the Resizing help article.

    Hope this is helpful.

    Regards,
    Tanya
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  3. UI for WPF is Visual Studio 2017 Ready
  4. Patrick
    Patrick avatar
    2 posts
    Member since:
    Oct 2016

    Posted 02 Nov Link to this post

    Thank you,

    it works. :)

Back to Top