• Margin

Left,Top,Right,Bottom

  • HorizontalAlignment & VerticalAlignment

HorizontalAlignment(Height的Opposite,水平对齐方式);VerticalAlignment(Width的反向,垂直对齐方式)

  • <DockPanel LastChildFill="True">

这个可让DockPanel的最后一个Control自动调整自己的大小以铺满剩余的空间

相关文章: