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
765
Unpin Event?
posted

I notice that when someone unpins a pane, it does not fly back in until the mouse leaves the pane.  This is somewhat unintuitive compared to other applications.  I therefore would like to work around this and force the pane to fly in when it is unpinned, however I can't seem to find an appropriate event to catch.  I can't see a PinEvent anywhere, or maybe a pinstatechanged or something.  Or maybe I'm missing a property that would perform this behavior?  Any recommendations?   

Parents
No Data
Reply
  • 10880
    Verified Answer
    posted

    You may want to use the AfterPaneButtonClick event.  In there you can call the dockmanager.FlyIn() method.  You can add some if checks to see which button was clicked but it should not be necessary as the method will fly in panes which are unpinned.

Children