NavigationEventArgs 类

定义

为无法取消导航请求的导航方法和事件处理程序提供数据。

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
继承
Object Platform::Object IInspectable NavigationEventArgs
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

属性

Content

获取目标页面内容的根节点。

NavigationMode

获取一个值,该值指示导航过程中的移动方向

NavigationTransitionInfo

获取一个值,该值指示与导航关联的动画切换。

Parameter

获取传递给导航目标页的任何“Parameter”对象。

SourcePageType

获取从原始 Navigate 调用导航到) 的页面 (参数的值sourcePageType

Uri

获取目标的统一资源标识符 (URI) 。

适用于

另请参阅