編輯

共用方式為


NavigatingCancelEventArgs.NavigationMode Property

Definition

Gets a NavigationMode value that indicates the type of navigation that is occurring.

public:
 property System::Windows::Navigation::NavigationMode NavigationMode { System::Windows::Navigation::NavigationMode get(); };
public System.Windows.Navigation.NavigationMode NavigationMode { get; }
member this.NavigationMode : System.Windows.Navigation.NavigationMode
Public ReadOnly Property NavigationMode As NavigationMode

Property Value

A NavigationMode value that indicates the type of navigation that is occurring.

Remarks

The types of navigation that can occur are:

  • Navigating to new content (New).

  • Navigating to the previous item in back navigation history (Back).

  • Navigating to the next item in forward navigation history (Forward).

  • Refreshing existing content (Refresh).

Applies to