RadDocking without side panels

0 Answers 106 Views
Docking
Paul
Top achievements
Rank 2
Iron
Iron
Iron
Paul asked on 31 Mar 2023, 02:09 PM

I feel that this is probably a property somewhere but I can't seem to find it.
I'm using RadDocking and I can drag a tab away so that it is floating.

When I'm dragging it back I only want to be able to drag it to the tabs area (centre of the compass)
I'm guessing that there's a property to stop/block a pane being dropped at the left, top, right or bottom.

What is the property that I'm missing?

I've tried IsLeftIndicatorVisible but it still shows a drop location at the left of the pane (hides it on the compass only)

Thanks

Paul
Top achievements
Rank 2
Iron
Iron
Iron
commented on 03 Apr 2023, 10:13 AM

Trying to achieve this using DockState but it doesn't have centre? 
(Left, right top bottom and 2 floating)
Stenly
Telerik team
commented on 05 Apr 2023, 08:29 AM

Would it be possible to review the suggestion from our How to Implement Conditional Docking article? The following link will open the mentioned article:

WPF Docking - How to Implement Conditional Docking - Telerik UI for WPF

It consists of adding a handler for the PreviewShowCompass event of RadDocking and modifying the properties exposed by the e.Compass property.

I have attached a sample project for you to test.

Paul
Top achievements
Rank 2
Iron
Iron
Iron
commented on 06 Apr 2023, 08:22 AM

Thank you, the PreviewShowCompass event works.
However I'm not going to use it because the floating windows are too messy.
I'll use a click event to toggle the View between tabs and a window.

Stenly
Telerik team
commented on 06 Apr 2023, 08:29 AM

Would it be possible to share a bit more information regarding what you mean by "the floating windows are too messy" on your end?

No answers yet. Maybe you can help?

Tags
Docking
Asked by
Paul
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or