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

Equivalent of Dock.Fill?

1 Answer 129 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Pete Davis
Top achievements
Rank 1
Pete Davis asked on 22 Mar 2011, 03:11 PM
I have 3 PaneGroups and I'd like one docked on the left, one docked on the top and one to have the equivalent of the WinForms Dock.Fill.

Here's what I have:
<telerik:RadDocking HasDocumentHost="True" HorizontalAlignment="Stretch" Name="radDocking1" VerticalAlignment="Stretch" Grid.ColumnSpan="2" Margin="0,30,0,0">
    <telerik:RadSplitContainer Orientation="Vertical">
        <telerik:RadPaneGroup Name="rpgExplorer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
            <telerik:RadPane Header="Pane 1" />
            <telerik:RadPane Header="Pane 2" />
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
    <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedTop">
        <telerik:RadPaneGroup Name="rpgUpper" HorizontalContentAlignment="Left" VerticalContentAlignment="Stretch">
            <telerik:RadPane Header="Pane 1" />
            <telerik:RadPane Header="Pane 2" />
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
    <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedTop">
        <telerik:RadPaneGroup Name="rpgLower" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
            <telerik:RadPane Header="Pane 1" />
            <telerik:RadPane Header="Pane 2" />
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
</telerik:RadDocking>

How do I get the third RadSplitContainer to perform the equivalent of Dock.Fill?

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 25 Mar 2011, 02:56 PM
Hello Pete,

 
I would suggest you to use the RadDocking.DocumentHost. For more information, please refer to the following link - http://www.telerik.com/help/wpf/raddocking-features-document-host.html

All the best,
George
the Telerik team
Tags
Docking
Asked by
Pete Davis
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or