Articles in this section
Category / Section

How to customize BackStageItem Height in the RibbonControlAdv?

1 min read

To customize the BackStageTab, BackStageButton, BackStageSeperator height in the BackStageView, do the following.

In the BackStageView, the BackStageItem height is specified with respect to its visual style, by default. However, it is possible to customize its height by using the properties, ItemHeight and UseDefaultBackStageItemHeight.

 

UseDefaultBackStageItemHeight

This property is used to enable/disable default height of the BackStageItem. This property is only applicable when the Ribbon Style is set to Office2013 and TouchStyle.

 

ItemHeight

This property is used to specify the BackStageItem height.

C#

//Sets the given height for the BackStageItem.
this.backStage1.UseDefaultBackStageItemHeight = false;
//Specifies the height for the BackStageButton.
this.backStageButton1.ItemHeight = 70;
// Specifies the height for the BackStageTab.
this.backStageTab1.ItemHeight = 40;
//Specifies the height for the BackStageSeparator.
this.backStageSeparator1.ItemHeight = 4;

 

VB

'Sets the given height for the BackStageItem.
Me.backStage1.UseDefaultBackStageItemHeight = False
'Specifies the height for the BackStageButton.
Me.backStageButton1.ItemHeight = 70
'Specifies the height for the BackStageTab.
Me.backStageTab1.ItemHeight = 40
'Specifies the height for the BackStageSeparator.
Me.backStageSeparator1.ItemHeight = 4

 

Showing Ribbon BackStageView

Figure 1: Item height is specified for the BackStageItems

 

Sample Link: https://www.syncfusion.com/downloads/support/directtrac/138082/ze/BackStageItemHeight138510345

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