MotivaTED/Views/AgeSetupView.xaml.cs
/// <summary>
/// Invoked when this page is about to be displayed in a Frame.
/// </summary>
/// <param name="e">Event data that describes how this page was reached.
/// This parameter is typically used to configure the page.</param>
Invoked when this page is about to be displayed in a Frame.
Invoked when this page is about to be displayed in a Frame .
protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            if (ApplicationData.Current.LocalSettings.Values.ContainsKey("Age"))
            {
                YourAgeTextBox.Text = ((Int32)(ApplicationData.Current.LocalSettings.Values["Age"])).ToString();
            }
        }
protected override void OnNavigatedTo ( NavigationEventArgs e ) { if ( ApplicationData . Current . LocalSettings . Values . ContainsKey ( " " ) ) { YourAgeTextBox . Text = ( ( Int32 ) ( ApplicationData . Current . LocalSettings . Values [ " " ] ) ) . ToString ( ) ; } }
Invoked when this page is about to be displayed in a Frame.
Invoked when this page is about to be displayed in a Frame .
e
NavigationEventArgs
Event data that describes how this page was reached.
This parameter is typically used to configure the page.
Event data that describes how this page was reached . This parameter is typically used to configure the page .