NavigationCommands.BrowseForward 屬性

定義

取得代表 Browse Forward 命令的值。

public:
 static property System::Windows::Input::RoutedUICommand ^ BrowseForward { System::Windows::Input::RoutedUICommand ^ get(); };
public static System.Windows.Input.RoutedUICommand BrowseForward { get; }
static member BrowseForward : System.Windows.Input.RoutedUICommand
Public Shared ReadOnly Property BrowseForward As RoutedUICommand

屬性值

路由UI命令。

預設值
按鍵動作 ALT+RIGHT
UI 文字 下一頁

範例

下列範例示範如何搭配 Frame使用 BrowseForward 。 如果正向堆疊上有日誌專案,則 Frame 提供實作來回應 BrowseForward 命令 Frame

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<!-- NavigationCommands.BrowseForward -->
<MenuItem
  Command="NavigationCommands.BrowseForward"
  CommandTarget="{Binding ElementName=frame}" />
<!-- The following Frame is used to process NavigationCommands.BrowseForward commands -->
<Frame Name="frame" NavigationUIVisibility="Hidden" Source="Page1.xaml" />
</Window>

備註

此命令表示要向前瀏覽紀錄中的下一頁。

FrameNavigationWindow 實作回應 BrowseForward 命令的支持,雖然您不需要使用它;在許多情況下,響應該命令的實作是應用程式寫入器的責任。

XAML Attribute Usage

<object property="NavigationCommands.BrowseForward"/>  

適用於

另請參閱