Following xaml example, I expect 3 textblockes are shown in same size.
It shows correctly in design view, but 1st texblock occupies most of the space in runtime.
Code: Select all
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="100*"/>
<RowDefinition Height="100*"/>
<RowDefinition Height="100*"/>
</Grid.RowDefinitions>
<TextBlock Text="Test1" Background="Green"/>
<TextBlock Text="Test2" Background="Red" Grid.Row="1"/>
<TextBlock Text="Test3" Background="Blue" Grid.Row="2"/>
</Grid>