NavigatingCancelEventArgs 类

定义

On NavigationFrom 回调提供可用于从发起取消导航请求的数据。

public ref class NavigatingCancelEventArgs 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 NavigatingCancelEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class NavigatingCancelEventArgs 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 NavigatingCancelEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class NavigatingCancelEventArgs
Public NotInheritable Class NavigatingCancelEventArgs
继承
Object Platform::Object IInspectable NavigatingCancelEventArgs
属性

Windows 要求

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

属性

Cancel

指定是否应取消挂起的导航。

NavigationMode

从发起的 Navigate 调用中获取 mode 参数的值。

NavigationTransitionInfo

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

Parameter

获取与此导航关联的导航参数。

SourcePageType

获取从发起的 Navigate sourcePageType调用导航到) 的页面 (参数的值。

适用于

另请参阅