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
170
DockManager extra event before AfterDockChange
posted

Hello,

when dragging a pane to another group, we can listen to the BeforeDockChange event.

After the pane has been redocked, we can listen to the AfterDockChange.

I need the moment when the user releases the mouse button and the drop begins.

At that moment I would like to know the dockablegrouppane where it will be dropped into.

Then I want to cancel the event and write some code to add extra grouppanes (I always need a HorizontalSplit-GroupPane around my controlpane).

How can this be achieved?

Or can the extra event be exposed?

 

tx

Marc

Parents
  • 53790
    posted

    Hello Marc,

    Maybe one possible approach could be handling the InitializePane event.

    This event will fire after the user release the mouse button and before AfterDockChange event. Also in this event you could get for example the following information:
    - e.Pane.DockAreaPane
    - e.Pane.DockedState
    Please let me know if this approach is suitable in your scenario or if you have any questions.
    Regards

Reply Children
No Data