Click here to Skip to main content
12,444,541 members (53,800 online)
Rate this:
 
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 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160811.3 | Last Updated 17 Sep 2012
Copyright © CodeProject, 1999-2016
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