style.WrapText = true;for those cells. You can make the whole grid readonly by setting:
gridControl1.ReadOnly = true;
//color row headers this.gridControl1.BaseStylesMap["Row Header"].StyleInfo.BackColor = Color.Red; //color top left corner this.gridControl1.BaseStylesMap["Header"].StyleInfo.BackColor = Color.Red; //column column headers this.gridControl1.BaseStylesMap["Column Header"].StyleInfo.BackColor = Color.Red;
this.gridControl1.Properties.ColHeaders = false; this.gridControl1.Properties.RowHeaders = false;Or, you can set grid.Cols.Hidden = true. You can use grid.CoveredRanges.Add to have covered cells in column 0 (the row headers) you you want covered cells in the row headers. Or, you can hide the headers, and cover cells in column 1 if you want that.