I create a custom DockPanel and I want to override the menu shown when we click the DropDownButton. is that possible? if not, can we add a second DropDownButton to the title bar of the DockPanel ? Or is there a way to customize this title bar ?
But when I change the DockPanel dock state (Drag&Drop it), I got the original menu. perhaps that we call the SetDock method. So I try to call ChangeDropDownMenu in the Dockpanel.Activated event but it works only if we select an other panel before. I try also with the Dockingmanager.DockingStateChanged event without success :(
In which Docking event, have I to call the ChangeDropDownMenu?
Regards Kort
0
Julian Benkov
Telerik team
answered on 29 Aug 2007, 04:55 PM
Hi Kort,
You can use this code snippet:
(dockingManager1.PrimarySite as DockSite).PostLayout +=new EventHandler(Form1_PostLayout);