Hi Simon,
The Font can be changed by setting the font of the GridGroupDropArea and by setting the size of the 2nd column index alone you can avoid the space before Tabledescriptor.Name.The color of the area can be changed by handling the PrepareViewStyleInfo event of the GridGroupDropArea. The code snippets,
//setting font
this.gridGroupingControl1.GridGroupDropArea.Font=new Font("Times New Roman",9);
//avoiding the space before table name
private void Model_QueryColWidth(object sender, GridRowColSizeEventArgs e)
{
if(e.Index == 2) // || e.Index == 1)
{
e.Size=200;
e.Handled=true;
}
}
//setting back color.
this.gridGroupingControl1.GridGroupDropArea.PrepareViewStyleInfo +=new GridPrepareViewStyleInfoEventHandler(GridGroupDropArea_PrepareViewStyleInfo);
private void GridGroupDropArea_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
{
if(e.ColIndex==2)
{
e.Style.BackColor=Color.LightBlue;
}
}
Modified sample attached.
ResizeDropArea.zip
Regards,
Leo.