WPF horizontal scrollbar not visible

I have a grid inside ScrollViewer. The grid has only one column and many rows. I add controls to the grid lines. The problem is that I can see the VerticalScrollBar when I add controls, but I don't see the HorizontalScrollBar, although I add very wide controls.
My xaml is as follows

<ScrollViewer> <Grid> rows ... </Grid> </ScrollViewer> 

Thanks,
ant.

+6
wpf scrollbar
source share
1 answer

Set the HorizontalScrollBarVisibility ScrollViewer to Auto or Visible.

 <ScrollViewer HorizontalScrollBarVisibility="Auto"> <Grid> ... rows ... </Grid> </ScrollViewer> 
+11
source share

All Articles