0
我有以下的UI元素树:WPF网格扩展列表视图垂直滚动条丢失
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
</Grid>
<Expander>
<ListView/>
</Expander>
<Expander>
<ListView/>
</Expander>
</Grid>
我已经设置ScrollViewer.CanContentScroll = “真”,ScrollViewer.HorizontalScrollBarVisibility = “自动”,ScrollViewer.VerticalScrollBarVisibility =“自动”。但是,ListView的内容超出了窗口大小,根本不显示任何垂直滚动条。任何建议和见解是值得赞赏的。
这有帮助。谢谢。 –
@KokHowTeh,你可以接受一个答案,如果你发现它解决了你的问题。 (没有看到你接受任何问题的答案,所以以防万一..) – Bolu
我刚刚发现这解决了这个具体的问题。但是,它会导致另一个问题,如我的其他帖子所示:http://stackoverflow.com/questions/39917247/wpf-grid-expander-listview-fills-up-the-space-when-gridsplitter-moves –