NavigationUIVisibility 枚举

定义

指定 Frame 是否显示其导航镶边。 NavigationUIVisibilityNavigationUIVisibility 属性使用。NavigationUIVisibility is used by the NavigationUIVisibility property.

public enum class NavigationUIVisibility
public enum NavigationUIVisibility
type NavigationUIVisibility = 
Public Enum NavigationUIVisibility
继承
NavigationUIVisibility

字段

Automatic 0

Frame 使用自己的日记时,导航镶边可见(请参见 JournalOwnership)。The navigation chrome is visible when a Frame uses its own journal (see JournalOwnership).

Hidden 2

导航镶边不可见。The navigation chrome is not visible.

Visible 1

导航镶边可见。The navigation chrome is visible.

示例

下面的示例演示了如何Frame通过将设置NavigationUIVisibility为来NavigationUIVisibility显示的导航镶边。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"/>

适用于