This is a migrated thread and some comments may be shown as answers.

How to DisAllow dropping Floating window over TabHeader

5 Answers 93 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Vinnarasi
Top achievements
Rank 1
Vinnarasi asked on 29 Oct 2013, 11:56 AM
Hi,

I want to DisAllow dropping Floating window over TabHeader. 
Hereby I Attached a ScreenShot.
On dragging the Floating Window over the Mainwindow, that Yellow Region in Tabheader allows me to drop the Floating 
Window over there.
My application doesn't need this facility.


Thanks in Advance,
M.Vinnarasi


5 Answers, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 01 Nov 2013, 09:15 AM
Hello,

In order to disable the functionality of docking Panes by dropping them on the HeaderTap of the docked in the DocumentHost of the control Panes all you need to do is:
  • In the PreviewShowCompass event set the CanDropOnTabStrip property of the PreviewShowCompassEventArgs to False.

The next code snippet shows the described approach:
<telerik:RadDocking PreviewShowCompass="RadDocking_PreviewShowCompass">
    ...
</telerik:RadDocking>

and in the event:
private void RadDocking_PreviewShowCompass(object sender, Telerik.Windows.Controls.Docking.PreviewShowCompassEventArgs e)
{
    e.CanDropOnTabStrip = false;
}


Regards,
Vladi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Vinnarasi
Top achievements
Rank 1
answered on 05 Nov 2013, 10:13 AM
Hi Vladi,

The Property CanDropOnTabStrip is not recognised in my Application. The Solution, I need is that Yellow Region tabs the new Window to the left of yellow region. (i.e) If I already had a tab in main window, and when I drag second window over the TabHeader, The 2nd Window occupies First Tab. I don't need this Tabs to be shifted.

=>Either that yellow region allow me to tab the new window to its right.(i.e)When I tab a new window, it should occupy the next tabbing position of already existing tab.
=>Or have to remove this facility of yellow tabbing in my Application.

Thanks in Advance,
M.Vinnarasi


0
Vladi
Telerik team
answered on 05 Nov 2013, 12:32 PM
Hello,

It is possible that the version you are using doesn't have this property as it was recently introduced in the control.

Please download our latest version of RadDocking and give it a try. If you continue to experience issues let us know.

Regards,
Vladi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Vinnarasi
Top achievements
Rank 1
answered on 06 Nov 2013, 11:06 AM
Hello,

Thx. It Works!!!
0
Vladi
Telerik team
answered on 06 Nov 2013, 12:04 PM
Hello,

If you have any other questions or concerns feel free to contact us again.

Regards,
Vladi
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Docking
Asked by
Vinnarasi
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Vinnarasi
Top achievements
Rank 1
Share this question
or