This is a migrated thread and some comments may be shown as answers.

GroupVariant problem

2 Answers 115 Views
RibbonView and RibbonWindow
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 26 Oct 2016, 09:21 AM

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 Answers, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 31 Oct 2016, 09:27 AM
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!
0
Patrick
Top achievements
Rank 1
answered on 02 Nov 2016, 09:40 AM

Thank you,

it works. :)

Tags
RibbonView and RibbonWindow
Asked by
Patrick
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Patrick
Top achievements
Rank 1
Share this question
or