Articles in this section
Category / Section

How to change the BackStageItem's backcolor and highLight color in WinForms RibbonControlAdv?

1 min read

Change the backstageitems backcolor and highlight color

In RibbonControlAdv, the BackStageItem’s Back Color and Highlight Color can be customized by using the ApplyTouchStyleColorTable() function when the RibbonStyle is set as TouchStyle.

C#

// ColorTable for TouchSytle in RibbonControlAdv
TouchStyleColorTable TouchStylecolor = new TouchStyleColorTable();
//Sets the Color of BackStageTab
TouchStylecolor.BackStageTabColor = Color.Violet;
//Sets the Hover Color of BackStageTab
TouchStylecolor.BackStageTabHoverColor = Color.Pink;  
//Applies the TouchStyleColorTable for RibbonControlAdv
ribbonControlAdv1.ApplyTouchStyleColorTable(TouchStylecolor);

VB

' ColorTable for TouchSytle in RibbonControlAdv
Private TouchStylecolor As New TouchStyleColorTable()
' Sets the Color of BackStageTab
TouchStylecolor.BackStageTabColor = Color.Violet
' Sets the Hover Color of BackStageTab
TouchStylecolor.BackStageTabHoverColor = Color.Pink
' Applies the TouchStyleColorTable for RibbonControlAdv
ribbonControlAdv1.ApplyTouchStyleColorTable(TouchStylecolor)

Sample: http://www.syncfusion.com/downloads/support/directtrac/general/RibbonBackStage-1079849597.zip

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