Edit

Bagikan melalui


NavigationUIVisibility Enum

Definition

Specifies whether a Frame displays its navigation chrome. NavigationUIVisibility is used by the NavigationUIVisibility property.

public enum class NavigationUIVisibility
public enum NavigationUIVisibility
type NavigationUIVisibility = 
Public Enum NavigationUIVisibility
Inheritance
NavigationUIVisibility

Fields

Name Value Description
Automatic 0

The navigation chrome is visible when a Frame uses its own journal (see JournalOwnership).

Visible 1

The navigation chrome is visible.

Hidden 2

The navigation chrome is not visible.

Examples

The following example shows how always show the navigation chrome of a Frame by setting NavigationUIVisibility to NavigationUIVisibility.

this.hostFrame.NavigationUIVisibility = NavigationUIVisibility.Visible;
Me.hostFrame.NavigationUIVisibility = NavigationUIVisibility.Visible
<Frame Name="hostFrame" NavigationUIVisibility="Visible"/>

Applies to