HA
haneefm
Syncfusion Team
November 19, 2007 10:07 PM UTC
Hi Nick,
You can change the color of that frozon line using this property:
this.gridControl1.Properties.FixedLinesColor = Color.Red;
If you want to change the size of this line, you need to handle QueryCellInfo, and in the handler if e.ColIndex points to your frozen column, then set e.Style.Border.Right = new GridBorder(....); to have teh border you want to see.
private void gridControl1_QueryCellInfo(object sender, GridQueryCellInfoEventArgs e)
{
if(e.ColIndex == this.gridControl1.Cols.FrozenCount&& e.RowIndex > 0)
{
e.Style.Borders.Right = new GridBorder(GridBorderStyle.Solid, Color.Red, GridBorderWeight.Thin);
}
}
Best regards,
Haneef