How to customize the QAT panel backcolor in the WinForms RibbonControlAdv?
Customize the QAT panel backcolor
You can change the backcolor of the Quick Access ToolBar when it is below the Ribbon by using the BottomToolStripBackColor property in the TouchStyleColorTable of the RibbonControlAdv.
C#
//Initializes the TouchStyleColorTable. TouchStyleColorTable touchColorTable = new TouchStyleColorTable(); //Specifies the Botton ToolStrip backcolor. touchColorTable.BottomToolStripBackColor = Color.Red; //Applies the color table to the RibbonControlAdv. this.ribbonControlAdv1.ApplyTouchStyleColorTable(touchColorTable);
VB
'Initializes the TouchStyleColorTable. Dim touchColorTable As New TouchStyleColorTable() 'Specifies the Botton ToolStrip backcolor. touchColorTable.BottomToolStripBackColor = Color.Red 'Applies the color table to the RibbonControlAdv. Me.ribbonControlAdv1.ApplyTouchStyleColorTable(touchColorTable)
This property can be used when the RibbonStyle is specified as TouchStyle.
Figure 1: Before applying the BottomToolStripBackColor in the Quick Access ToolBar of the RibbonControlAdv.
Figure 2: After applying the BottomToolStripBackColor in the Quick Access ToolBar of the RibbonControlAdv.
Samples:
Reference link: https://help.syncfusion.com/windowsforms/ribbon/customization-support