Home Forums WinForms controls Xceed Grid for WinForms adding image dynamically Reply To: adding image dynamically

Xceed Support
Post count: 5658

You could use the RowSelectorPane to get the wanted behavior. The following code will display the image in the RowSelector.

ImageList list = new ImageList();
list.Images.Add( new Bitmap( @”D:\myImage.jpg” ) );
gridControl1.RowSelectorPane.ImageList = list;
gridControl1.RowSelectorPane.CurrentImageIndex = 0;

Imported from legacy forums. Posted by CharlesB (had 223 views)