views:

428

answers:

1

Hi All,
     I have a Grid inside ScrollViewer. Grid has only one columns and many rows. I add controls into grid rows. The problem is I can see VerticalScrollBar when I am adding controls but I cannot see HorizontalScrollBar although I add very wide controls.
My xaml looks like the following

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

Thanks,
ant.

A: 

Set the HorizontalScrollBarVisibility of the ScrollViewer to "Auto" or "Visible".

<ScrollViewer HorizontalScrollBarVisibility="Auto">
   <Grid>
   ... rows ...
   </Grid>
</ScrollViewer>
Josh Einstein