NavigationCommands.BrowseStop Propriété

Définition

Obtient la valeur qui représente la commande Browse Stop.

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 d’interface utilisateur routée.

Valeurs par défaut
Combinaison de touches ALT+ÉCHAP
Texte d'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, 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.BrowseStop"/>  

S’applique à

Voir aussi