NavigatingCancelEventArgs class

NavigatingCancelEventArgs class

Provides data for the OnNavigatingFrom callback that can be used to cancel a navigation request from origination.

Inheritance

Object
  NavigatingCancelEventArgs

Syntax


Public NotInheritable Class NavigatingCancelEventArgs

Members

The NavigatingCancelEventArgs class has these types of members:

Methods

The NavigatingCancelEventArgs class inherits methods from the Object class.

Properties

The NavigatingCancelEventArgs class has these properties.

PropertyAccess typeDescription

Cancel

Read/write

Specifies whether a pending navigation should be canceled.

NavigationMode

Read-only

Gets the value of the mode parameter from the originating Navigate call.

NavigationTransitionInfo

Read-only

Gets a value that indicates the animated transition associated with the navigation.

Parameter

Read-only

Gets the navigation parameter associated with this navigation.

SourcePageType

Read-only

Gets the value of the SourcePageType parameter from the originating Navigate call.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

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

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

See also

Object
OnNavigatingFrom

 

 

Show:
© 2016 Microsoft