Share via


NavigationEventArgs Class

Definition

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

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

Properties

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