OnBackKeyPress Method
Collapse the table of content
Expand the table of content

PhoneApplicationPage.OnBackKeyPress Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Called when the hardware Back button is pressed.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

'Declaration
Protected Overridable Sub OnBackKeyPress ( _
	e As CancelEventArgs _
)

Parameters

e
Type: System.ComponentModel.CancelEventArgs
Set e.Cancel to true to indicate that the request was handled by the application.

This member is for Windows Phone -based projects.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2016 Microsoft