问题
my ScrollViewer doesn't work. scrolling isn't possible.
<ScrollViewer>
<StackPanel>
<ListView> </ListView>
<Grid> </Grid>
<ListView> </ListView>
</StackPanel>
</ScrollViewer>
i have tried different possibilities with setting of height (for ScrollViewer and StackPanel).
how to scroll the content ?
EDIT: VerticalScrollBarVisibility="Visible" and CanContentScroll="True" already used
jeff
回答1:
It's probably because you have your scrollviewer inside something like a stackpanel. Try a grid instead.
来源:https://stackoverflow.com/questions/1150697/scrollviewer-contentscroll-is-missing