Custom paint of the caption bar in a docking manager window

Hi,
I would like to know how to change the way that the docking manager paints the caption bar. I believe there is an event that allows me to change the color and the brush used, but I would like to draw icons in the area as well, and detect if the mouse moves over those icons.

Thanks
John

2 Replies

MU Murugan Syncfusion Team February 21, 2007 08:47 PM UTC

Hi John,

Thank you for using Syncfusion products.

By customizing DockingManager, DockHost and Captionpainter classes we could achieve this. Herewith I have attached the sample. Please refer the sample and let me know if it helps you.

Custom button draw

Regards,
Murugan P.S


JH John H February 22, 2007 01:53 PM UTC

Thanks very much, looks like its exactly what I need.

Cheers
John

>Hi John,

Thank you for using Syncfusion products.

By customizing DockingManager, DockHost and Captionpainter classes we could achieve this. Herewith I have attached the sample. Please refer the sample and let me know if it helps you.

Custom button draw

Regards,
Murugan P.S

Loader.
Up arrow icon