Telerik UI for Windows Phone by Progress

The LastChildFill feature allows you to specify whether the last element in the RadDockPanel control should take the whole remaining space. To control the feature you can use the LastChildFill property of RadDockPanel. Its default value is True.

Note
If the LastChildFill feature is turned on and the last element is not configured to stretch itself or have a predefined dimensions, it will get positioned depending on its HorizontalAlignment and VerticalAlignment properties.

Here is an example.

CopyXAML
<telerikPrimitives:RadDockPanel x:Name="radDockPanel" LastChildFill="True">
    <Border Width="100" telerikPrimitives:RadDockPanel.Dock="Left" BorderBrush="White" BorderThickness="1" Background="#FF00BABD" />
    <Border Height="100" telerikPrimitives:RadDockPanel.Dock="Top" BorderBrush="White" BorderThickness="1" Background="Orange" />
    <Border Width="100" telerikPrimitives:RadDockPanel.Dock="Right" BorderBrush="White" BorderThickness="1" Background="Pink" />
    <!-- This border will get stretched in the remaining space. -->
    <Border telerikPrimitives:RadDockPanel.Dock="Bottom" BorderBrush="White" BorderThickness="1" Background="Green" />
</telerikPrimitives:RadDockPanel>

Here is a snapshot of the result.

Dock Panel-Last Child Fill-01