NavigatingCancelEventArgs class

Applies to Windows and Windows Phone

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

Inheritance

Object
  NavigatingCancelEventArgs

Syntax


public ref class NavigatingCancelEventArgs sealed 

Attributes

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

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/writeSpecifies whether a pending navigation should be canceled.

NavigationMode

Read-onlyGets the value of the mode parameter from the originating Navigate call.

NavigationTransitionInfo

Read-onlyGets a value that indicates the animated transition associated with the navigation.

Parameter

Read-onlyGets the navigation parameter associated with this navigation.

SourcePageType

Read-onlyGets the value of the SourcePageType parameter from the originating Navigate call.

 

Requirements

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

See also

OnNavigatingFrom

 

 

Show:
© 2014 Microsoft