共用方式為


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

取得參數的值 sourcePageType , (從原始 Navigate 呼叫巡覽至) 的頁面。

適用於

另請參閱