Home Forums WinForms controls Xceed Grid for WinForms How to display bitmap in the row header ? Reply To: How to display bitmap in the row header ?

Xceed Support
Member
Post count: 5658

Hi Frederic, 

You need to set the ColumnManagerRow’s Cells’ .BackgroundImage to an instance of your bitmap.

ie:

columnManagerRow1.Cells[0].BackgroundImage = new System.Drawing.Bitmap(@”D:\images\col1.JPG”);

You could also set the ColumnManagerRow’s Cells’ .Value to an empty string if you do not want to see a column title over your image.

ColumnManagerRow1.Cells[0].Value = String.Empty;

 

Imported from legacy forums. Posted by Michel [Xceed] (had 796 views)