Hide the dockguide icon for its own docksite.

Docking/MDI for WPF Forum

Posted 12 years ago by keshav bansal
Version: 12.1.0562


How to Hide the dockguide icon for its own docksite in which its dragging ?

For Example:

<docking:DockSite x:Name="BaseDocksite1" CanToolWindowsAttach="True" WindowClosing="BaseDocksite1_WindowClosing">


<docking:DockSite x:Name="docksite2" WindowClosing="docksite2_WindowClosing">


<docking:ToolWindow Title="window2"></docking:ToolWindow>





in code behind file


As docksite2 is linked with the basedocksite1.

so in the above sample as i drag the toolwindow from the docksite2, the dockguide icon for the linked docksite(Basedocksite1) are displaying but its also displaying the dockguide four sided icons for the dragging docksite ie. docksite2.

So how to hide the dockguide icons in the docksite in which the toolwindow is docked...?

But it should display the dockguide icons for the linked docksite ie. Basedocksite1.


Means When we dragging the toolwindow,that  toolwindow should not docked in the same docksite in which it is  docked or in which it is registered.

[Modified 12 years ago]

Comments (1)

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

Hello, sorry but you can't prevent the dock guides from showing for a particular DockSite.  There are options for whether to allow docking in certain directions or "attaching" (center) but those options will apply to all DockSites (current and linked).

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.