Frame::NavigationUIVisibility Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets when the Frame can show its navigation UI.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

property NavigationUIVisibility NavigationUIVisibility {
	NavigationUIVisibility get();
	void set(NavigationUIVisibility value);

Property Value

Type: System.Windows.Navigation::NavigationUIVisibility

A 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:

  1. NavigationUIVisibility to Visible

  2. JournalOwnership to OwnsJournal

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.

Identifier field


Metadata properties set to true


The following example demonstrates how to make sure the navigation chrome of a Frame is always visible by setting NavigationUIVisibility to Visible.

No code example is currently available or this language may not be supported.
<Frame Name="hostFrame" NavigationUIVisibility="Visible"/>

.NET Framework
Available since 3.0
Return to top