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

RadSplitContainer fill available space

1 Answer 497 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Trish
Top achievements
Rank 1
Trish asked on 02 Dec 2011, 05:15 PM
Is there a way to get the RadSplitContainter to fill the available space?  I have several split containters and the the last one, I want the RadPane's to fill what space is left.  Thanks.

<telerik:RadDocking  BorderThickness="0" Padding="0" Grid.Row="1" >             
    <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom">                 
        <telerik:RadPaneGroup >                     
            <telerik:RadPane Header="Development Log" Content="" />                 
        </telerik:RadPaneGroup>             
    </telerik:RadSplitContainer>            
    <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedLeft" >                 
        <
telerik:RadPaneGroup  telerik:ProportionalStackPanel.RelativeSize="200, 300">                     
            <telerik:RadPane Header="Administration" Content="" IsPinned="True" />                 
        </telerik:RadPaneGroup>             
    </telerik:RadSplitContainer>                
    <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedRight" MinWidth="300">                 
        <telerik:RadPaneGroup >                     
            <telerik:RadPane Header="Maintenance Plans"  />                 
        </telerik:RadPaneGroup>             
    </telerik:RadSplitContainer>             
    <!--<telerik:RadDocking.DocumentHost >-->
                
        <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft"  MinWidth="200" HorizontalContentAlignment="Stretch" HorizontalAlignment="Stretch">                     
            <telerik:RadPaneGroup  >                         
                <
telerik:RadPane Header="Reference Materials" Content=""  />                     
            </telerik:RadPaneGroup>                     
            <telerik:RadPaneGroup >                         
                <telerik:RadPane Header="Maintenance Items" Content="" />                     
            </
telerik:RadPaneGroup>                 
        </telerik:RadSplitContainer>             
    <!--</telerik:RadDocking.DocumentHost>-->         
</telerik:RadDocking>

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 02 Dec 2011, 05:45 PM
Hi Trish,

In order the RadSplitContainers to take up the whole space you need to set the HasDocumentHost property of the Docking control to False.

Greetings,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Docking
Asked by
Trish
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or