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

Xceed Support
Member
Post count: 5658

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

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

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