Answered scrollviewer current position

  • Thursday, August 02, 2012 5:14 PM
     
     

    Hi,

    I am using scrollviwer. inside it i place a stackpanel and some controls are added to this stackpanel from codebehind. so after adding all the contents, when i checked in code, i found the actual height of stackpanel is 1200. so the scrolling height of scrollviwer will be 1200? so when i start the scrolling, i need to find the current position of scrollviewer. Say the value is 300 at some point, 700 at some other point and 1200 and the end of scrolling ( to the bottom of page). how can i check this in code? will it affect the maximise/minimise state of window?

All Replies