2010-09-08 105 views

回答

0

它可以使用DockPanels完成。

+0

一個更好的辦法來做到這一點會要使用網格佈局並在每個單元格中設置垂直對齊。 – user442692 2010-11-09 15:44:36

0

我會選擇一個網格,因爲我覺得他們更容易,如果你的佈局的改變,你添加更多的控件擴展或:

<Grid> 
    <Grid.RowDefinitions> 
     <RowDefinition Height="Auto" /> 
     <RowDefinition Height="*" /> 
     <RowDefinition Height="Auto" /> 
    </Grid.RowDefinitions> 
    <Grid.ColumnDefinitions> 
     <ColumnDefinition Width="Auto" /> 
    </Grid.ColumnDefinitions> 
    <Label Grid.Row="0" Grid.Column="0" Content="Label at the top"/> 


    <Label Grid.Row="0" Grid.Column="0" Content="Label at the bottom"/> 
</Grid> 

有一個像樣的教程here

相關問題