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

Floating Window Docking

4 Answers 196 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Vinnarasi
Top achievements
Rank 1
Vinnarasi asked on 24 Oct 2013, 11:10 AM
Hi,
 
   I didn't want docking for the floating window(Tool Window). Is there any solution to do this?


With Thanks,
M.Vinnarasi

4 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 24 Oct 2013, 03:10 PM
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 >>
0
Vinnarasi
Top achievements
Rank 1
answered on 25 Oct 2013, 07:26 AM
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).
0
Kalin
Telerik team
answered on 25 Oct 2013, 01:18 PM
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 >>
0
Vinnarasi
Top achievements
Rank 1
answered on 29 Oct 2013, 08:03 AM
Hi,

Thx 4 ur answer. It works!!!
Tags
Docking
Asked by
Vinnarasi
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Vinnarasi
Top achievements
Rank 1
Share this question
or