)
We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize BackStageItem Height in the RibbonControlAdv?

Platform: WinForms |
Control: RibbonControlAdv |
Published Date: August 3, 2015 |
Last Revised Date: May 27, 2019
Tags: backstage

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: http://www.syncfusion.com/downloads/support/directtrac/138082/ze/BackStageItemHeight138510345

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon