Articles in this section
Category / Section

How to group WPF Ribbon control tabs for easy navigation?

2 mins read

The ContextTabGroups are used to group ribbon tabs in the application for easy navigation in WPF Ribbon control. You can show the ContextTabGroup by setting the IsGroupVisible property is set to true..

XAML

<syncfusion:Ribbon x:Name="MyRibbon" VerticalAlignment="Top">
      <syncfusion:RibbonTab Caption="Home">
            <syncfusion:RibbonBar Header="Respond">
                 <syncfusion:SplitButton SizeForm="Large" Label="New Mail"></syncfusion:SplitButton>
                 <syncfusion:RibbonButton SizeForm="Small" Label="Reply"></syncfusion:RibbonButton>
                 <syncfusion:RibbonButton SizeForm="Small" Label="ReplyAll"></syncfusion:RibbonButton>
           </syncfusion:RibbonBar>
      </syncfusion:RibbonTab>
      <syncfusion:Ribbon.ContextTabGroups>
            <syncfusion:ContextTabGroup Name="ContextTabGroup1" IsGroupVisible="True" BackColor="Green" Label="TABLE TOOLS">
                 <syncfusion:RibbonTab Caption="TABLES" IsChecked="False" />
                 <syncfusion:RibbonTab Caption="DESIGN" IsChecked="False" >
                      <syncfusion:RibbonBar Header="Illustrations">
                           <syncfusion:SplitButton SizeForm="Large" Label="Picture"></syncfusion:SplitButton>
                           <syncfusion:RibbonButton SizeForm="Small" Label="Comment"></syncfusion:RibbonButton>
                           <syncfusion:RibbonButton SizeForm="Small" Label="Chart"></syncfusion:RibbonButton>
                      </syncfusion:RibbonBar>
                 </syncfusion:RibbonTab>
            </syncfusion:ContextTabGroup>
      </syncfusion:Ribbon.ContextTabGroups>
</syncfusion:Ribbon>

 

C#

ContextTabGroup1.IsGroupVisible = true;

 

The following screenshot displays the Ribbon Contextual Tab Group:

Show the ContextTabGroup in WPF Ribbon control

View sample in GitHub.



Conclusion

I hope you enjoyed learning how to group WPF Ribbon control tabs for easy navigation.

You can refer to our WPF Ribbon feature tour page to know about its other groundbreaking feature representations and documentation, to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied