Frame::NavigationUIVisibility Property
Gets or sets when the Frame can show its navigation UI.
Assembly: PresentationFramework (in PresentationFramework.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
public: property NavigationUIVisibility NavigationUIVisibility { NavigationUIVisibility get (); void set (NavigationUIVisibility value); }
<object NavigationUIVisibility="NavigationUIVisibility" .../>
Property Value
Type: System.Windows.Navigation::NavigationUIVisibilityA NavigationUIVisibility value that specifies when the Frame can show its navigation UI. The default value is Automatic.
By default, a Frame shows its navigation UI automatically when the first entry is added to navigation history. The navigation UI subsequently remains visible, with the back or forward navigation buttons becoming appropriately enabled or disabled to reflect the number of entries in back and forward navigation history.
You can ensure that navigation UI is always visible by setting:
You set NavigationUIVisibility to Hidden if you want to hide the navigation UI. This might be the case when navigation UI doesn’t make sense with the content you are displaying from a Frame, or because you are providing your own navigation UI.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.