Unattach the Floating window.

Docking/MDI for WPF Forum

Posted 11 years ago by keshav bansal
Version: 12.2.0573
Avatar

Hi,

How to unattach the floated toolwindow.

There is one property like CanAttach=Flase,but its not working.

Suppose i have two toolwindows named Toolwindow1,Toolwindow2 in the docksite named Docksite1.

I floats the toolwindow named Toolwindow1.

Now Toolwindow2 should not be docked into the  Toolwindow1.

I applied the property on Toolwindow1 like Toolwindow1.CanAttach=false;

But its not working means still i am able to dock the Toolwindow2 inside the Toolwindow1 because they are in the same docksite.

Comments (1)

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

Hi Keshav,

I'm not seeing that.  For instance in our Features demo if I go to the Tool Window Options tab and uncheck CanAttach then float it, I am unable to center dock (attach) any other tool windows to it.  I still can dock next to it in the same rafting window though.  You can't really block that unless you turn off all docking left/top/right/bottom for tool windows on the DockSite, which of course will prevent normal docking elsewhere.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.