How to set custom colors for the WinForms Office2007Form, RibbonForm and RibbonControlAdv?
Custom colors
To set custom colors, set the ColorScheme as Managed. Then set the desired color using the Syncfusion.Windows.Forms.Tools.Office12ColorTable.ApplyManagedColors method. Refer to the below given code snippet and sample attached.
C#
//set the custom color to the form and RibbonControlAdv this.ColorScheme = ColorSchemeType.Managed; this.ribbonControlAdv1.OfficeColorScheme = ToolStripEx.ColorScheme.Managed; Office12ColorTable.ApplyManagedColors(this, Color.Red);
VB
'set the custom color to the form and RibbonControlAdv Me.ColorScheme = ColorSchemeType.Managed Me.ribbonControlAdv1.OfficeColorScheme = ToolStripEx.ColorScheme.Managed Office12ColorTable.ApplyManagedColors(Me, Color.Red)