You need to get a handle of the specific GroupManagerRow instance, and change its ForeColor property. You can do this when groups are actually added through the GroupAdded event.
e.g.:
//At form load
<i>
private void Form1_Load(object sender, System.EventArgs e)
{
gridControl1.GroupAdded += new GroupAddedEventHandler(gridControl1_GroupAdded);
}
</i>
//Event handler
<i>
private void gridControl1_GroupAdded(object sender, GroupAddedEventArgs e)
{
if( (e.Group.Title).StartsWith( “Your criteria” ) )
{
e.Group.HeaderRows[ 0 ].ForeColor = Color.Green;
}
}
</i>
Imported from legacy forums. Posted by André (had 2892 views)