
DockPanel Example
<Border BorderBrush="Black" BorderThickness="3" >HTML / XML
<StackPanel x:Name="LayoutRoot" Background="White">
<TextBlock Margin="5" Text="Dock Panel" />
<Border BorderBrush="Black" BorderThickness="3" >
<controls:DockPanel LastChildFill="true" Height="265">
<Button Content="Dock: Left" controls:DockPanel.Dock ="Left" />
<Button Content="Dock: Right" controls:DockPanel.Dock ="Right" />
<Button Content="Dock: Top" controls:DockPanel.Dock ="Top" />
<Button Content="Dock: Bottom" controls:DockPanel.Dock ="Bottom" />
<Button Content="Last Child" />
</controls:DockPanel>
</Border>
</StackPanel>
</Border>
Join the conversation! Your thoughts help the community grow.