NavigationCommands.BrowseForward Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient la valeur qui représente la Browse Forward commande.
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 de l’interface utilisateur routée.
| Valeurs par défaut | |
|---|---|
| Mouvement clé | ALT+DROITE |
| Texte de l’interface utilisateur | Avant |
Exemples
L’exemple suivant montre comment utiliser BrowseForward conjointement avec un Frame. Il Frame fournit une implémentation qui répond à la BrowseForward commande en accédant au Frame transfert, 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émentez la prise en charge de la réponse à la BrowseForward commande, même si vous n’êtes 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 des attributs XAML
<object property="NavigationCommands.BrowseForward"/>