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

Prevent Panes from docking in SplitContainer/PaneGroup

1 Answer 85 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Dennys
Top achievements
Rank 1
Dennys asked on 08 Feb 2011, 11:35 AM
I have a RadDocking with two RadSplitContainers in it. In the first Container I have one Pane and in the second Container I have a DocumentHost with n Panes. How do I prevent the Panes from the DocumentHost from docking in the first RadSplitContainer (or force them to only dock in their "own" SplitContainer)?

My structure looks like this:

<telerik:RadDocking>
    <!-- Panel -->
    <telerik:RadSplitContainer MinWidth="265" MaxWidth="600" Width="350" Name="LeftContainer" InitialPosition="DockedLeft" Margin="0,-4,0,0">
        <telerik:RadPaneGroup BorderThickness="1">
            <telerik:RadPane Header="Title">
                Content
            </telerik:RadPane>
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
     
    <!-- Tabs -->
    <telerik:RadDocking.DocumentHost>
        <telerik:RadSplitContainer Margin="0,-3,0,0" BorderThickness="1">
            <telerik:RadPaneGroup>
                <telerik:RadPane Header="asdf">
                    aasdf asdf
                </telerik:RadPane>
                <telerik:RadPane Header="asdf">
                    aasdf asdf
                </telerik:RadPane>
            </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
    </telerik:RadDocking.DocumentHost>
</telerik:RadDocking>

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 09 Feb 2011, 01:05 PM
Hi Dennys,

How to implement conditional docking you can refer to this help article -> http://www.telerik.com/help/wpf/raddocking-how-to-implement-conditional-docking.html. For a sample application you can visit the following blog post: http://blogs.telerik.com/blogs/posts/09-12-29/using_compass_indicators_properties_for_telerik_s_docking_control_for_silverlight_and_wpf.aspx

Hope this information helps. Please let us know if you have further questions.

Kind regards,
Konstantina
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Docking
Asked by
Dennys
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or