File: src\Framework\System\Windows\Navigation\NavigationMode.cs
Project: wpf\PresentationFramework.csproj (PresentationFramework)
//------------------------------------------------------------------------------------------------------
//
// <copyright file="NavigationApplication.cs" company="Microsoft">
//    Copyright (C) Microsoft Corporation.  All rights reserved.
// </copyright>
//
// Description:
//          Enum describing the NavigationMode - {New, Back, Forward, Refresh} where New means a new navigation,
//          Forward, Back, and Refresh mean the navigation was initiated from the GoForward, GoBack, or
//          Refresh method (or corresponding UI button).
//
// History:
//  06/20/05: hamidm    Moved NavigationMode to separate file.
//
//------------------------------------------------------------------------------------------------------
 
using System;
 
namespace System.Windows.Navigation
{
    #region NavigationMode Enum
    /// <summary>
    /// Enum describing the NavigationMode - {New, Back, Forward, Refresh} where New means a new navigation,
    /// Forward, Back, and Refresh mean the navigation was initiated from the GoForward, GoBack, or
    /// Refresh method (or corresponding UI button).
    /// </summary>
    public enum NavigationMode : byte
    {
        /// <summary>
        /// New navigation
        /// </summary>
        New,
        /// <summary>
        /// Navigating back in history
        /// </summary>
        Back,
        /// <summary>
        /// Navigating back in history
        /// </summary>
        Forward,
        /// <summary>
        /// Refreshing the current page. We could be refreshing a page in history
        /// </summary>
        Refresh,
    }
 
    #endregion NavigationMode Enum
}