MU
Murugan
Syncfusion Team
April 5, 2007 10:19 PM UTC
Hi JMS,
Please use GridPrepareViewStyleInfoEventArgs.Style.HorizantalAlignment to set the ColumnName horizantal alignment. Please refer to the below code snippet and let me know if it helps you.
private void Grid_PrepareViewStyleInfo(object sender, Syncfusion.Windows.Forms.Grid.GridPrepareViewStyleInfoEventArgs e)
{
e.Style.HorizontalAlignment = GridHorizontalAlignment.Center;
}
Thanks for using Syncfusion products.
Regards,
Murugan P.S