How to DisAllow dropping Floating window over TabHeader

6 posts, 0 answers
  1. Vinnarasi
    Vinnarasi avatar
    14 posts
    Member since:
    Aug 2013

    Posted 29 Oct 2013 Link to this post

    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


  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 01 Nov 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Vinnarasi
    Vinnarasi avatar
    14 posts
    Member since:
    Aug 2013

    Posted 05 Nov 2013 Link to this post

    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


  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 05 Nov 2013 Link to this post

    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 >>
  6. Vinnarasi
    Vinnarasi avatar
    14 posts
    Member since:
    Aug 2013

    Posted 06 Nov 2013 Link to this post

    Hello,

    Thx. It Works!!!
  7. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 06 Nov 2013 Link to this post

    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 >>
Back to Top
UI for WPF is Visual Studio 2017 Ready