NavigationUIVisibility 列舉

定義

指定 Frame 是否顯示其巡覽組件區塊。 NavigationUIVisibility 是由 NavigationUIVisibility 屬性使用。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顯示如何一律顯示的流覽 chrome。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"/>

適用於