Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Silverlight
Hi All,
 
I have a Grid and name as "GR1" in Xml. Now I am dynamically creating rows and column and filling the values and want a scoll Viewver on the basis of inserted record from code behind .
 
Plz help
Posted 14-Sep-12 1:11am
Comments
arti s.v at 17-Sep-12 3:00am
   
did u mean scroll viewer?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I think you just wrap your grid in a ScrollViewer like this:
<ScrollViewer HorizontalScrollBarVisibility="Auto"     
              VerticalScrollBarVisibility="Auto"> 
   <Grid>
        <!-- Your content here -->
    </Grid>
</ScrollViewer
 
Adjust those two ScrollBarVisibility properties to your liking (Hidden, Visible, Auto).
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 330
1 Maciej Los 180
2 Richard MacCutchan 115
3 arvind mepani 104
4 Tino Fourie 92


Advertise | Privacy | Mobile
Web04 | 2.8.140709.1 | Last Updated 17 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid