<Grid x:Name="SidebarGrid" LayoutUpdated="gridlayoutupdated">
<Grid.RowDefinitions>
<RowDefinition Height="250" />
<RowDefinition Height="*"/>
<RowDefinition Height="*" />
</Grid.RowDefinitions>
行大小为内容,但在设置内容后,我想获得高度。