This topic has not yet been rated - Rate this topic

NavigatingCancelEventArgs class

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

Inheritance

Object
  NavigatingCancelEventArgs

Syntax


public sealed class NavigatingCancelEventArgs : Object

Attributes

MarshalingBehaviorAttribute(Agile)
ThreadingAttribute(Both)
VersionAttribute(NTDDI_WIN8)
WebHostHiddenAttribute()

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.

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]

Namespace

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

Metadata

Windows.winmd

See also

OnNavigatingFrom

 

 

Build date: 12/4/2012

© 2013 Microsoft. All rights reserved.