How to get the docked direction.

Docking/MDI for WPF Forum

Posted 12 years ago by keshav bansal
Version: 12.1.0562


Suppose i have the toolwindow1 in docksite1 of the main application and as i drag the toolwindow1 from teh doocksite1 and docked into the right direction of the same docksite,So How to get that docked right  direction.


Like There is an API toolwindow1.GetDirectionRelativeToWorkspace().But its works only for relative to workspace. not relative to the  docksite.



Problem 2: Is there any way to restrict that toolwindow1 should not be docked into the its own docksite1 when i drag the toolwindow1 from the docksite1 and it should docked to teh other linked docksite.

[Modified 12 years ago]

Comments (1)

Answer - Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Keshav,

Sorry but there is no method similar to GetDirectionRelativeToWorkspace that is relative to the DockSite.

No sorry, there is no way to prevent docking into the same DockSite.

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.