AD
Administrator
Syncfusion Team
June 29, 2004 06:24 AM UTC
If you are using the 2.0 code base, you canuse teh "Image" celltype and set the ImageSizeMode to CenterImage.
//for GridDataBoundGrid, get the style from GridBoundColumn.StyleInfo instead of grid.ColStyles
GridStyleInfo style = this.gridControl1.ColStyles[2];
style.ImageIndex = 0;
style.ImageList = list;
style.CellType = "Image";
style.ImageSizeMode = GridImageSizeMode.CenterImage;