NavigationCommands.BrowseForward Propriété

Définition

Obtient la valeur qui représente la commande 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

Valeur de propriété

Commande d’interface utilisateur routée.

Valeurs par défaut
Combinaison de touches ALT+DROITE
Texte d'interface utilisateur Transférer

Exemples

L’exemple suivant montre comment utiliser BrowseForward conjointement avec un Frame. Fournit Frame une implémentation qui répond à la BrowseForward commande en naviguant vers l’avant Frame , s’il existe des entrées de journal sur la pile de transfert.

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

Remarques

Cette commande indique l’intention de parcourir la page suivante dans le journal.

Frame et NavigationWindow implémentent la prise en charge de la réponse à la BrowseForward commande, bien que vous ne soyez pas obligé de l’utiliser ; dans de nombreux cas, l’implémentation en réponse à cette commande est la responsabilité de l’enregistreur d’application.

Utilisation d'attributs XAML

<object property="NavigationCommands.BrowseForward"/>  

S’applique à

Voir aussi