Changing the alignment of text within Grid cells

The alignment of text within grid cells can be changed by setting the Alignment property appropriately. Available settings are Left, Right and Center. For example, the following would center the text in all cells in column 6:

.GridControl1.Cell(0, 6).Alignment = &.Center