AzureMobileServicesLab.WP8.View.AnswerQuestionPage.OnNavigatedTo C# (CSharp) Method

OnNavigatedTo() protected method

protected OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void
e System.Windows.Navigation.NavigationEventArgs
return void
        protected override async void OnNavigatedTo(NavigationEventArgs e)
        {
            var url = e.Uri.OriginalString;
            _questionId = url.Substring(url.IndexOf('?') + 1);

            // TODO: Get question from Question table.
            // var question = ...
            //
            //QuestionTextBlock.Text = question.Text;
            //AnswerAButton.Content = "A: " + question.ChoiceA;
            //AnswerBButton.Content = "B: " + question.ChoiceB;
        }