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 customize the colors of metro theme?

GridGroupingControl has default colors for metro theme. You can customize the metro theme colors through GridMetroColors by using SetMetroStyle method and also you can set the BackColor for record plus or minus cell by using TableDescriptor or QueryCellStyleInfo event.

The following code example explains the same.



  1. Using TableDescriptor



2. Using QueryCellStyleInfo event



The following screenshot displays the customized metro style.


Figure 1: Customized metro style

Sample Links

C#: CustomizedMetro

VB: CustomizedMetro

Article ID: Published Date: Last Revised Date: Platform: Control:
4494 04/19/2015 04/19/2015 WinForms GridGroupingControl
Did you find this information helpful?
Truong Apr 09, 2018

Hi everyone !

How can i set BorderStyle equal None in Metro theme ?

Thank You
Best Regard !

Sindhu Nagarajan [Syncfusion] Apr 10, 2018

Hi Troung,



 To avoid the header border when Metro theme is applied to the GridGroupingControl,  HeaderBottomBorderColor property is set to Empty. Please refer to the below code.


Code Example


theme = new GridMetroColors();

theme.HeaderBottomBorderColor = Color.Empty;




Also, you can use the below code to avoid the header border style,

this.gridGroupingControl1.TableDescriptor.Appearance.ColumnHeaderCell.Borders.Bottom = new GridBorder(GridBorderStyle.None);


Inorder to know about  customizing the appearance of the GridGroupingControl, please refer to the below UG link,

Appearance and Formatting


Sample Link:  http://www.syncfusion.com/downloads/support/directtrac/general/ze/CustomizedMetroTheme1528095856





Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to 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