Grid row height is star, but the height setting does not work in a prism:region

  • Problem:
    My original code is
<ItemControl  Grid.Row="0" Name="MainRegion" prism:RegionManager.RegionName="MainRegion"/>
  • Cause:
    The cause is that ItemControl uses StackPanel to contain its children, which leads the star height does not work.

  • Solution:

<ContentControl  Grid.Row="0" Name="MainRegion" prism:RegionManager.RegionName="MainRegion"/>

相关文章:

  • 2022-01-31
  • 2021-09-04
  • 2022-02-23
  • 2021-11-26
  • 2021-08-18
  • 2021-06-08
  • 2021-10-19
  • 2021-09-29
猜你喜欢
  • 2022-01-07
  • 2021-11-02
  • 2022-01-11
  • 2022-03-01
  • 2021-09-21
  • 2022-12-23
  • 2021-04-13
相关资源
相似解决方案