Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
430
Getting Pane Element From Tab Element
posted

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);
        }

 

Parents Reply Children
No Data