Click here to Skip to main content
11,568,180 members (41,373 online)
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


Advertise | Privacy | Mobile
Web04 | 2.8.150624.2 | Last Updated 17 Sep 2012
Copyright © CodeProject, 1999-2015
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