The DataTemplate in HubSection doesn't get full height
问题 I have the following code: <HubSection x:Name="modules_section" ...> <DataTemplate> <StackPanel Orientation="Vertical"> .................................. How can I get the StackPanel to take the full height of the HubSection? VerticalAlignment="Stretch" doesn't do the job. I also tried to use binding via <StackPanel Height={Binding ElementName=modules_section, Path=ActualHeight}" ...> but the Actualheight of the hub section seems to be 0 (I also tried to set it in code-behind and debugged to