GrapeCity MultiRow Windows Forms Documentation
Display Image (ImageCell)

To set an image in the image cell, you need to set the image data type with the Cell.Value property.

Using Code

This example puts an image in the image cell.

[VB]

GcMultiRow1.Rows(0).Cells(0).Value = New Bitmap("test.bmp")

[CS]

gcMultiRow1.Rows[0].Cells[0].Value = new Bitmap(@"test.bmp");

To use the icon data type, set the ImageCell.ValueIsIcon property to True.

See Also

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options