AppShell.TestApp.HomePage.OnNavigatedTo C# (CSharp) Method

OnNavigatedTo() protected method

protected OnNavigatedTo ( NavigationEventArgs e ) : void
e Windows.UI.Xaml.Navigation.NavigationEventArgs
return void
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            switch (e.Parameter as string)
            {
                case "Info":
                    contentTextBlock.Text = "Info";
                    break;
                case "Profile":
                    contentTextBlock.Text = "Profile";
                    break;
                case "Settings":
                    contentTextBlock.Text = "Settings";
                    break;
            }
        }