Category / Section
How to get color from ManagedColorTable and use it in our controls?
1 min read
Color schemes
You can get the ManagedColorTable for use in other controls using GetColorTable() method of Office2007Colors class.
C#
Office2007Colors.ApplyManagedColors(this, Color.Red); color = Office2007Colors.GetColorTable(Office2007Theme.Managed).ActiveFormBorderColor; this.textBox1.BackColor = color; this.checkBox1.BackColor = color;
VB
Office2007Colors.ApplyManagedColors(Me, Color.Red) color = Office2007Colors.GetColorTable(Office2007Theme.Managed).ActiveFormBorderColor Me.textBox1.BackColor = color Me.checkBox1.BackColor = color
Reference link: https://help.syncfusion.com/windowsforms/office2007form/color-schemes