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 CPallini 385
1 Sergey Alexandrovich Kryukov 262
2 OriginalGriff 200
3 George Jonsson 134
4 Richard MacCutchan 110
0 OriginalGriff 6,344
1 Sergey Alexandrovich Kryukov 5,890
2 CPallini 5,175
3 George Jonsson 3,559
4 Gihan Liyanage 2,522


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100