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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to apply Office color scheme to any control in the Office2007Form and Office2010Form?

Platform: WinForms |
Control: Office2007Form |
Published Date: June 17, 2015 |
Last Revised Date: June 17, 2015

The color scheme is applied in the Office2007Form and Office2010Form, by default and the color scheme cannot be applied to controls placed in the Form. So, it is required to specify the colors for the controls placed in the Form based on the color scheme. The color scheme of the Office2007Form can be applied by using the property, ColorScheme.

There are four different color schemes available in the Office2007Form.

  1. Blue
  2. Black
  3. Silver
  4. Managed

Managed color scheme helps to apply the user-defined colors. The Managed color scheme can be applied to the Office2007Form by using the function, ApplyManagedColors. Each and every item of the colors in the Office2007Form can be acquired by using the function, GetColorTable in the Office2007Colors.

The following code example demonstrates the same.




Figure 1: ColorScheme is set as Blue

Figure 2: ColorScheme is set as Black

Figure 3: ColorScheme is set as Silver

Figure 4: ColorScheme is set as Managed

Sample Links

C#: http://www.syncfusion.com/downloads/support/forum/119261/ze/Office2007Form1557056153

VB: http://www.syncfusion.com/downloads/support/forum/119261/ze/Office2007Form_VB1447920667

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
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.

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