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

Change color of ColumnHeader-Bottom in Metro style (the "blue line")

Thread ID:

Created:

Updated:

Platform:

Replies:

130344 May 8,2017 12:33 PM UTC May 9,2017 04:14 AM UTC Windows Forms 1
loading
Tags: GridGroupingControl
Oliver Politzki
Asked On May 8, 2017 12:33 PM UTC

Hi there,

is it possible to change the color of the "blue-bottom-border-line" of the column headers in metro style? 
And the mouse hover effect of the column headers would be nice, too. 

Attached is a picture for clarification. 

Thanks! 

Attachment: syncfusion_datagrid_331e8d1b.zip

Mohanraj Gunasekaran [Syncfusion]
Replied On May 9, 2017 04:14 AM UTC

Hi Oliver, 

Thanks for using Syncfusion products. 

In order to change the header bottom border color and Header mouse hover color for metro theme, you can use the SetMetroStyle method. Please refer to the below code example, 

Code example 
GridMetroColors color = new GridMetroColors(); 
//Bottom border color 
color.HeaderBottomBorderColor = Color.Green; 
//Mouse hover color 
color.HeaderColor.HoverColor = Color.Yellow; 
this.gridGroupingControl1.SetMetroStyle(color); 
 
Screenshot 
 


Sample link: GridGroupingCorntrol 

Please refer the below UG and KB link, 

Regards, 
Mohanraj G 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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

;