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.
ADAdministrator Syncfusion Team November 5, 2003 07:58 AM
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.