Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NavigationEventArgs Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides data for navigation methods and event handlers that cannot cancel the navigation request.

public ref class NavigationEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class NavigationEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class NavigationEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class NavigationEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class NavigationEventArgs
Public NotInheritable Class NavigationEventArgs
Inheritance
Object Platform::Object IInspectable NavigationEventArgs
Attributes

Windows requirements

Requirements Description
Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Name Description
Content

Gets the root node of the target page's content.

NavigationMode

Gets a value that indicates the direction of movement during navigation

NavigationTransitionInfo

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

Parameter

Gets any "Parameter" object passed to the target page for the navigation.

SourcePageType

Gets the value of the sourcePageType parameter (the page being navigated to) from the originating Navigate call.

Uri

Gets the Uniform Resource Identifier (URI) of the target.

Applies to

See also


Feedback

Was this page helpful?