Block the docking of the toolwindow of the docksite inside its own docksite.

Docking/MDI for WPF Forum

Posted 12 years ago by keshav bansal
Version: 12.1.0560
Avatar

Hi,

How to Block the docking of the toolwindow of the docksite inside its own docksite.

For Example,

<Window>

<docking:DockSite x:Name="docksite1"Grid.Row="0" WindowDragging="docksite1_WindowDragging">

<docking:ToolWindowContainer>

<docking:ToolWindow Title="SAMPLE1" Name="tw1" CanAttach="False">

</docking:ToolWindow>

</docking:DockSite>

</Window>

Above docking application consist of only single docksite and this docksite have only 1 docking window ie.SAMPLE1.

If i drag the docking window then dockguide icons will be displayed in its own docksite.

Can i hide these dockguide icons while dragging the docking window from this docksite ?

As WindowDragging and Window Dragged or WindowActivated events are there so Is there any eventhandler for addding the docking window in the docksite(like WindowAdded) ?

Comments (1)

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

Hi Keshav,

No, there is no way to hide the dock guides in the same DockSite. As far as the event handler, all the available events are listed in the WPF Studio documentation topic "Docking Window Events" (Under Docking and MDI and Docking Window Features). You may be looking for the WindowRegistered event, which fires when a tool window is first added to a DockSite (but not necessarily displayed).


Actipro Software Support

The latest build of this product (v24.1.1) 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.