Docking windows groups

Docking/MDI for WPF Forum

Posted 8 months ago by Annaa
Version: 19.1.0685
Avatar

I have one docking site with many different ToolWindows. Is it possible to assign them to different group ids? Its purpose would be that a ToolWindow can attach other ToolWindows but only of the same group id.

Comments (1)

Posted 8 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Anna,

We have a WindowGroupName property already on ToolWindow.  When you open a tool window for the first time, it will see if another tool window with the same group name is already open and if so, will attach to it.  That being said, there's nothing that will restrict it from attaching to other tool windows outside of the group.

We do have an event where you can programmatically prevent certain dock guides from being allowed while dragging.  That would be of use to you with some custom logic of your own.  Please see the "Docking / Docking Window Features / Docking Window Capabilities" topic in the documentation that comes with the product.  The "Limiting the Allowed Dock Guides While Dragging" section discusses this subject.


Actipro Software Support

The latest build of this product (v2020.1.1) was released 15 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.