How to know current offset of a ScrollViewer Offset in WPF
Posted on 2010-04-06
We are creating a Thumbnail Viewer in WPF. For the scrollviewer nature, when user press the arrow key on the keyboard, it will auto scroll by some offset. We would like the Thumbnail Viewer to be auto scroll as well when we move to the edge.
Just wondering how can we know what is the current scrollviewer offset? So that we could do something like my_scrollViewer.ScrollToHotizontalOffet(__CurrentOffset + 0.1)
Thanks in advance.