私のXAMLには次のものがあります:
<Grid x:Name="LayoutRoot" Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="20"/>
<RowDefinition Height="7"/>
<RowDefinition Height="57"/>
</Grid.RowDefinitions>
<TextBlock Grid.Row="0" FontSize="18">Title Text</TextBlock>
<Rectangle Grid.Row="1" Margin="0,2" Height="3" HorizontalAlignment="Stretch" Fill="#ff000000"/>
<Border Grid.Row="2" Margin="0" Padding="0" BorderBrush="Black" BorderThickness="1">
<TextBlock Margin="0" Padding="0" FontSize="55">123</TextBlock>
</Border>
</Grid>
問題は、一番下の TextBlock のテキストの上にスペース (約 10px) があることです。はるかに小さいフォントサイズを使用することによってのみ、このスペースを取り除くことができるようです.
このスペースが表示されている理由と、それに対して私にできることを知っている人はいますか?
ありがとうございました。