<Grid x:Name="SidebarGrid" LayoutUpdated="gridlayoutupdated">
<Grid.RowDefinitions>
<RowDefinition Height="250" />
<RowDefinition Height="*"/>
开发者_StackOverflow中文版 <RowDefinition Height="*" />
</Grid.RowDefinitions>
The Row sizes to content, but after the content is set, I would like to get the height.
You can use RowDefinition.ActualHeight (but note that it is not data-bindable).
精彩评论