async void OnGoToModalClicked(object sender, EventArgs args)
        {
            SinglePageNavigationPage newPage = new SinglePageNavigationPage();
            Debug.WriteLine(separator);
            Debug.WriteLine("Calling PushModalAsync from {0} to {1}", this, newPage);
            await Navigation.PushModalAsync(newPage);
            Debug.WriteLine("PushModalAsync completed");

            // Display the page stack information on this page.
            newPage.DisplayInfo();
        }
コード例 #2
0
        async void OnGoToModalClicked(object sender, EventArgs args)
        {
            SinglePageNavigationPage newPage = new SinglePageNavigationPage();

            Debug.WriteLine(separator);
            Debug.WriteLine("Calling PushModalAsync from {0} to {1}", this, newPage);
            await Navigation.PushModalAsync(newPage);

            Debug.WriteLine("PushModalAsync completed");

            // Display the page stack information on this page.
            newPage.DisplayInfo();
        }