編輯

共用方式為


NavigatingCancelEventArgs.IsNavigationInitiator Property

Definition

Indicates whether the navigator (NavigationWindow, Frame) that is specified by Navigator is servicing this navigation, or whether a parent navigator is doing so.

public:
 property bool IsNavigationInitiator { bool get(); };
public bool IsNavigationInitiator { get; }
member this.IsNavigationInitiator : bool
Public ReadOnly Property IsNavigationInitiator As Boolean

Property Value

A Boolean value that is true if the navigator that is specified by Navigator is servicing this navigation. Otherwise, false is returned, such as during a nested Frame navigation.

Applies to