locked
Why does this not work, tombstoning ? RRS feed

  • Question

  • I really do not understand why this code does not work, I have made this example really easy, this code will work and move the scrollviewer under a button click event

    But ran as is in the OnNavigatedTo method does nothing at all, and I understand we can tombstone the scrollviewer horizontal position, any ideas please ?


    protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
    
    {
       this.ScrollViewer.ScrollToHorizontalOffset(5000); 
    }

    • Edited by SnookerCue Thursday, April 3, 2014 7:27 PM
    Thursday, April 3, 2014 7:26 PM

Answers

All replies