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.

Changing border color of GridGroupingControl

Thread ID:





57446 Mar 5,2007 03:05 AM Mar 5,2007 12:19 PM Windows Forms 1
Tags: GridControl
Ryan Hardoon
Asked On March 5, 2007 03:05 AM

I have managed to find almost every border settings within cells etc HOWEVER for some reason I cant find how to change to color (or other features) of the main border of the grid grouping control (Its black by default) . I am talking about the surrounding border of the grid. I can change the BorderStyle but I want to change to color

Administrator [Syncfusion]
Replied On March 5, 2007 12:19 PM

Hi Ryan,

There is no built-in support for this in GridGroupingControl. You could derive the Windows.Panel control and add a grid to it. You could set the Panel''s DockPadding.All = 1 and set the panel''s BackColor to the color you want to see. Also set the BorderStyle on both the grid and panel to none. Below is a code snippet

public class MyGroupingControl : Panel
public GridGroupingControl Grid = new GridGroupingControl();
public MyGroupingControl():base()
this.DockPadding.All = 1;
this.BackColor = Color.SlateBlue;
this.BorderStyle = BorderStyle.None;
this.Grid.Dock = DockStyle.Fill;
this.Grid.BorderStyle = BorderStyle.None;

For more details, see the below link.

Best Regards,


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.

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.