使用下面的 XAML,您仍然可以抓住底部的网格拆分器,为什么?
<Grid Background="Blue" Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="1*" />
<RowDefinition Height="0*" />
</Grid.RowDefinitions>
<Border Background="Red" />
<GridSplitter Grid.Row="1" Height="8" HorizontalAlignment="Stretch" VerticalAlignment="Top" />
</Grid>
行高 0 不应该阻止您抓取网格拆分器吗?