NavigationCommands.BrowseStop 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 Stop commande.
public:
static property System::Windows::Input::RoutedUICommand ^ BrowseStop { System::Windows::Input::RoutedUICommand ^ get(); };
public static System.Windows.Input.RoutedUICommand BrowseStop { get; }
static member BrowseStop : System.Windows.Input.RoutedUICommand
Public Shared ReadOnly Property BrowseStop As RoutedUICommand
Valeur de propriété
Commande de l’interface utilisateur routée.
| Valeurs par défaut | |
|---|---|
| Mouvement clé | Alt+Échap |
| Texte de l’interface utilisateur | Arrêter |
Exemples
L’exemple suivant montre comment utiliser BrowseStop conjointement avec un Frame. Fournit Frame une implémentation qui répond à la BrowseStop commande en arrêtant la navigation actuelle Frame .
<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<!-- NavigationCommands.BrowseStop -->
<MenuItem
Command="NavigationCommands.BrowseStop"
CommandTarget="{Binding ElementName=frame}" />
<!-- The following Frame is used to process NavigationCommands.BrowseStop commands -->
<Frame Name="frame" NavigationUIVisibility="Hidden" Source="Page1.xaml" />
</Window>
Remarques
Cette commande indique l’intention d’arrêter le chargement du navigateur.
Frame et NavigationWindow implémentez la prise en charge de la réponse à la BrowseStop 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.BrowseStop"/>