Home Forums WinForms controls Xceed Grid for WinForms Icon in the RowSelectorPane Reply To: Icon in the RowSelectorPane

Xceed Support
Member
Post count: 5658

Hi Mark,

You best option would be to set the BackgroundImage property of the RowSelector for which you want to force an image. Keep in mind that you will need to set the CurrentImageIndex, EditImageIndex, etc properties to null (or none in the designer) so that the little glyphs are not drawn over your image when the row is selected!

Your other options would be to create a class that derives from the RowSelector class and override the PaintForeground method to paint your image or handle the Paint event of the RowSelector to draw your image.

I hope this helps!

Imported from legacy forums. Posted by Jenny [Xceed] (had 3733 views)