MultiRow Windows Forms > Developer's Guide > Using MultiRow > Cell Types > ImageCell > Display Image (ImageCell) |
To set an image in the image cell, you need to set the image data type with the Cell.Value property.
This example puts an image in the image cell.
GcMultiRow1.Rows(0).Cells(0).Value = New Bitmap("test.bmp") |
gcMultiRow1.Rows[0].Cells[0].Value = new Bitmap(@"test.bmp"); |
To use the icon data type, set the ImageCell.ValueIsIcon property to True.