Hide the dockguide icon for its own docksite.

Docking/MDI for WPF Forum

Posted 7 years ago by keshav bansal
Version: 12.1.0562
Avatar

Hi,

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:Workspace>

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

<docking:ToolWindowContainer>

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

</docking:ToolWindowContainer>

</docking:DockSite>

</docking:Workspace>

</docking:DockSite>

in code behind file

this.docksite2.LinkDockSite(BaseDocksite2);

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 7 years ago]

Comments (1)

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

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 (v2019.1 build 0681) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.