Articles in this section
Category / Section

How to change the position of RibbonTabs and RibbonBars in WPF Ribbon control?

1 min read

You can change the direction of the RibbonTab and RibbonBar by using the FlowDirection property to WPF Ribbon control. The default value of the FlowDirection property is LeftToRight.

XAML

<syncfusion:Ribbon x:Name="ribbon" FlowDirection="RightToLeft">
      <syncfusion:RibbonTab Caption="Home" >
            <syncfusion:RibbonBar Header="Bar1">
                  <syncfusion:RibbonButton SizeForm="Large"/>
                  <syncfusion:RibbonButton SizeForm="Small"/>
                  <syncfusion:DropDownButton/>
            </syncfusion:RibbonBar>
      </syncfusion:RibbonTab>
</syncfusion:Ribbon>

C#

ribbon.FlowDirection=FlowDirection.RightToLeft; 

The following screenshot displays the change in the direction of the RibbonTab and RibbonBar by using FlowDirection property.

Display changed direction in WPF RIbbon control

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