Floating Window Docking

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

    Posted 24 Oct 2013 Link to this post

    Hi,
     
       I didn't want docking for the floating window(Tool Window). Is there any solution to do this?


    With Thanks,
    M.Vinnarasi
  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 24 Oct 2013 Link to this post

    Hi Vinnarasi,

    In order to have FloatingOnly Pane you will need to set the InitialPosition of its SplitContainer to FloatingOnly as shown below:

    <telerik:RadDocking>
    ...
        <telerik:RadSplitContainer InitialPosition="FloatingOnly">
            <telerik:RadPaneGroup>
                <telerik:RadPane Header="Floating Only Pane" CanDockInDocumentHost="False" />
            </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
    ...
    </telerik:RadDocking>

    For more information about the different initial positions of the SplitContainer you can check the following article from our online help documentation:
    http://www.telerik.com/help/wpf/raddocking-features-split-container.html#Setting_the_InitialPosition_of_the_RadSplitContainer_in_XAML

    Hope this works for you. If you have any further questions let us know.

    Regards,
    Kalin
    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 25 Oct 2013 Link to this post

    Hi,

    Thanx for ur Reply. But setting the property "CanDockInDocumentHost" to false disables docking in the DocumentHost. But the issue is that I didn't want docking for the floating window(Tool Window).
  5. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 25 Oct 2013 Link to this post

    Hi Vinnarasi,

    What I can suggest you is to implement a custom docking logic which will hide the compass of the floating Panes. For more details please check the How to Implement Conditional Docking article from our online help documentation. I have created and attached a sample project which demonstrates the exact approach.

    Hope this works for you.

    Regards,
    Kalin
    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 29 Oct 2013 Link to this post

    Hi,

    Thx 4 ur answer. It works!!!
Back to Top
UI for WPF is Visual Studio 2017 Ready