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
495
Drag/drop from one group to another group
posted

I have an ExplorerBar that has a few groups. Only one group is expanded at one time. Each group has a listview in it. I would like to drag from one listview in a group to another listview in another group. How do I get the target group to expand so that I can see the target listview?

  • 69832
    Offline posted

    The control exposes a 'GroupFromPoint' method, which you can use in (for example) the DragOver event to get the group at the current cursor position, if any (note that the method takes client coordinates, not screen coordinates). Once you have a reference to a group, you can set its Expanded property.