试试这个 :
<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow"
Height="800"
Width="525">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"
MinHeight="100" />
<RowDefinition Height="*"
MinHeight="200" />
<RowDefinition Height="*"
MinHeight="300" />
</Grid.RowDefinitions>
<TextBlock Background="LightBlue"
Text="{Binding ActualHeight, Mode=OneWay, RelativeSource={RelativeSource Self}}" />
<TextBlock Grid.Row="1"
Background="LightCyan"
Text="{Binding ActualHeight, Mode=OneWay, RelativeSource={RelativeSource Self}}" />
<TextBlock Grid.Row="2"
Background="LightCoral"
Text="{Binding ActualHeight, Mode=OneWay, RelativeSource={RelativeSource Self}}" />
</Grid>
</Window>
您会看到高度至少为 100、200、300,但是一旦有足够的位置,多余的位置将平均分配到各行。