我有两个带分割器的相同网格:
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Button Grid.Row="0" />
<Button Grid.Row="2" />
<GridSplitter Grid.Row="1" Height="4" HorizontalAlignment="Stretch" />
</Grid>
如何使它们同步调整大小?这样,两个网格的行高将相同。