CB
Clay Burch
Syncfusion Team
September 3, 2002 05:41 PM UTC
In the current version, there is no style that you staticly set to affect the hedaer alignment. But you can handle the PrepareViewStyleInfo event and set the alignment there.
private void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.GridPrepareViewStyleInfoEventArgs e)
{
if(e.ColIndex > 0 && e.RowIndex == 0)
e.Style.HorizontalAlignment = GridHorizontalAlignment.Left;
}