We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Adding a button to Docking Manager

Hi, I want to add a new button in addition to Close and AutoHide Buttons in the Tools.DockingManager. Will it be possible to do so? Is there any other way to work around this problem? Looking forward for your speedy reply. Regards Amit Chavan

1 Reply

AD Administrator Syncfusion Team November 5, 2003 07:58 AM

Hi Amit, This is certainly doable if you have the source code. You will have to override the CaptionPainter class in the source code and use a different drawing routine for the captions buttons. But this would be very cumbersome as this involves overriding/rewriting significant sections of the DockHost/DockTabController hit testing codes. The direction that you would need to take would be - overriding the DockHost class, providing the custom CaptionPainter that draws the different button, intercepting all hit-testing routines that involve the caption painter and adding the custom handling code from here. This would be the general approach, but due to the complexity of the task, this is something that we might not be able to support. However we could consider this as a feature request for a future release of Essential Suite. Regards, Guru Patwal Syncfusion, Inc.

Loader.
Live Chat Icon For mobile
Up arrow icon