Hey guys,
I know there is a built in ability to click on the tab within a pane and move it out creating a new Floating Panel. The problem is that we have a custom browser and when deployed into that browser this feature does not work. I know you can still double click to undock the pane, but that is unsatifactory for the application.
I need to know how to get the control that is attached to each tab so that I can force it to undock when the user drags it out. I am currently using the below code to get into the element, but beyond that I am completely lost.
Any and all help is appreciated, as always.
private void uDockManager_MouseEnterElement(object sender, UIElementEventArgs e) { if (e.Element is TabItemUIElement) e.Element.Control.MouseDown += new MouseEventHandler(OnControlMouseDown); }
Hello,
I`m not sure that I understand your scenario, but maybe you could take the desired control from ControlPanes collection. For example:
ultraDockManager1.ControlPanes[0].Control;
Please let me know if you have any questions
Regards
Hi,
Have you been able to resolve your issue ? Let me know if you have any questions.