Category / Section
How to customize the BackStageView Menu Button alignment?
3 mins read
In RibbonControlAdv, the BackStageButton alignment can be customized by using the BackStageButtonAlignment property.
The following code example demonstrates the same.
C#
//Sets the BackStage Arrow alignment as left. this.ribbonControlAdv1.BackStageButtonAlignment = BackButtonAlignment.Left; //Sets the BackStage Arrow alignment as center. this.ribbonControlAdv1.BackStageButtonAlignment = BackButtonAlignment.Center; //To set the BackStage Arrow alignment as right this.ribbonControlAdv1.BackStageButtonAlignment = BackButtonAlignment.Right;
VB
'Sets the BackStage Arrow alignment as left. Me.ribbonControlAdv1.BackStageButtonAlignment = BackButtonAlignment.Left 'Sets the BackStage Arrow alignment as center. Me.ribbonControlAdv1.BackStageButtonAlignment = BackButtonAlignment.Center 'Sets the BackStage Arrow alignment as right. Me.ribbonControlAdv1.BackStageButtonAlignment = BackButtonAlignment.Right
Note:
The BackStageButtonAlignment property is not applicable to Office2010 and Office2007 Ribbon styles.
Figure 1: BackStage MenuButton arrow placed in the left
Figure 2: BackStage MenuButton arrow placed in the center
Figure 3: BackStage MenuButton arrow placed in the right
Sample Links:
C#: http://www.syncfusion.com/downloads/support/directtrac/139533/ze/Ribbon_MenuButton-2027237149
VB: http://www.syncfusion.com/downloads/support/directtrac/139533/ze/Ribbon_MenuButton_VB-1611713281