Bug 34567 - WinRT: SendBackButtonPressed doesn't work
Summary: WinRT: SendBackButtonPressed doesn't work
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 1.5.0
Hardware: PC Windows
: Normal minor
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-10-05 14:48 UTC by Charles Petzold
Modified: 2017-08-30 17:22 UTC (History)
2 users (show)

Tags: ac windows functional
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_ON_ROADMAP

Description Charles Petzold 2015-10-05 14:48:16 UTC
In this program:

https://github.com/xamarin/xamarin-forms-book-preview-2/tree/master/Chapter24/ModalEnforcement

change this line:

https://github.com/xamarin/xamarin-forms-book-preview-2/blob/master/Chapter24/ModalEnforcement/ModalEnforcement/ModalEnforcement/ModalEnforcementModalPage.xaml.cs#L24

to a call to SendBackButtonPressed() 

Run the program on a Windows Runtime platform. On the Home page click the button. On the second page, enter at least one character in the two Entry fields and select something in the Picker. The Done button should become enabled. Press it. 

On iOS, Android, and Windows Phone Silverlight, the call to SendBackButtonPressed causes the program to go back to the Home page. On the Windows Runtime platforms, nothing happens.