How to hide the Middle dockguide icon which is combination of all left,right,top,bottom icons.

Docking/MDI for WPF Forum

Posted 7 years ago by keshav bansal
Version: 12.1.0560
Avatar

Hi,

How to hide the middle icon of the dockguide while dragging the one toolwindow into other toolwindow.

Fow example.

<docking:SplitContainer><docking:DockSitex:Name="docksite1">

<docking:ToolWindowContainer><docking:ToolWindow Title="hello" HasTitleBar="True"></docking:ToolWindow>

</docking:ToolWindowContainer>

</docking:DockSite>

<docking:DockSitex:Name="docksite2">

<docking:ToolWindowContainer><docking:ToolWindow Title="hello1" HasTitleBar="True"></docking:ToolWindow>

</docking:ToolWindowContainer>

</docking:DockSite></docking:SplitContainer>

and these docksites are linked by

this.docksite1.LinkDockSite(docksite2);

this.docksite2.LinkDockSite(docksite1);

if i drag the toolwindow from the docksite1 and move the mouse in the docksite2 and stop the mouse then arrow icons will be displayed in the all four side positions and one icon for allcombined arrow icons will be displayed at the center of the docksite2.

So can i hide this icon for allcombined arrow icons which is displayed at the center of the docksite and left ,right,top,bottom icons at their respective position should display ?

Comments (1)

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

Hi Keshav,

Pleae take a look at the "Docking & MDI Docking Window Features / Docking Window Capabilities" documentation topic.  That describes all the capabilities options.

You would want to set DockSite.CanToolWindowsAttach to false.


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.