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).
Close Icon
Unfortunately, activation email could not send to your email. Please try again.
Close Icon
close icon
Vote for your favorite ebook
Succinctly Readers Awards 2020
Syncfusion Feedback

How to customize the colors of metro theme?

Platform: WinForms |
Control: GridGroupingControl |
Published Date: April 19, 2015 |
Last Revised Date: April 19, 2015
Tags: themes

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

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment
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





Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

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