Home Forums WinForms controls Xceed Grid for WinForms Set background image for columnheader from code Reply To: Set background image for columnheader from code

User (Old forums)
Member
Post count: 23064

Hello Andre!

Thank you for the prompt answer! The problem solved – the reason of the problem was that I used an incorrect string format when I tried to call new Bitmap (the image is an embedded image, and I used an incorrect specifier)

ConnectorGrid is not a gridControl, it is a usercontrol, which holds many other controls – so this works fine.

Custom painting means something, that Xceed used in the
CustomUI/CustomColumnManagerCell class – where the CustomColumnManagerRow class is using CustomColumnManagerCell objects to display the column headers.

The CustomColumnManagerCell class’ PaintBackground method was overriden to give custom look to the column header.

Imported from legacy forums. Posted by Szabolcs (had 596 views)