Page.OnNavigatingFrom method

Applies to Windows and Windows Phone

Invoked immediately before the Page is unloaded and is no longer the current source of a parent Frame.

Syntax

Protected Overridable Sub OnNavigatingFrom(
  e As NavigatingCancelEventArgs 
)

Parameters

e

Type: NavigatingCancelEventArgs

Event data that can be examined by overriding code. The event data is representative of the navigation that will unload the current Page unless canceled. The navigation can potentially be canceled by setting Cancel.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Controls
Windows::UI::Xaml::Controls [C++]

Metadata

Windows.winmd

See also

Page

 

 

Show:
© 2014 Microsoft