我遇到了停靠面板没有将我的用户控件停靠在底部的问题。谁能帮我弄清楚为什么这没有停靠在底部?
<StackPanel>
<DockPanel Name="dockPanel" HorizontalAlignment="Stretch">
<StackPanel DockPanel.Dock="Bottom" HorizontalAlignment="Stretch">
<uc:UserControl HorizontalAlignment="Stretch" Margin="0,30,0,0" Background="White" Width="Auto" Height="Auto" />
</StackPanel>
</DockPanel>
</StackPanel>