HA
haneefm
Syncfusion Team
June 12, 2007 03:50 PM UTC
Hi Surti,
Try setting the GridHorizontalAlignment and GridVerticalAlignment property on the style. In a GridControl, you can do it on the cell. Here is the code for a gridcontrol.
this.gridControl1[2,2].CellType = "CheckBox";
this.gridControl1[2,2].HorizontalAlignment = GridHorizontalAlignment.Center;
this.gridControl1[2,2].VerticalAlignment = GridVerticalAlignment.Center;
Best regards,
Haneef