The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
ADAdministrator Syncfusion Team May 16, 2005 09:08 AM UTC
Try setting the GridHorizontalAlignment property on the style. In a GridControl, you can do it on the cell. In a GridDataBoundGrid, you need to set it on the GridBoundColumn.StyleInfo object fro the column from either the grid.GridBoundColumns collection or from the grid.Binder.InternalColumns collection depending upon whether you have explicitly added GridBoundCOlumns or not.
Here is the code for a gridcontrol.
this.gridControl1[2,2].CellType = "CheckBox";
this.gridControl1[2,2].HorizontalAlignment = GridHorizontalAlignment.Center;