NavigationCommands.BrowseStop Proprietà

Definizione

Ottiene il valore che rappresenta il Browse Stop comando.

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

Valore della proprietà

Comando indirizzato dell'interfaccia utente.

Valori predefiniti
Movimento della chiave ALT+ESC
Testo dell'interfaccia utente Arrestare

Esempio

Nell'esempio seguente viene illustrato come usare BrowseStop insieme a un oggetto Frame. Frame fornisce un'implementazione che risponde al BrowseStop comando arrestando lo spostamento correnteFrame.

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

Commenti

Questo comando indica l'intenzione di arrestare il caricamento del browser.

Frame e NavigationWindow implementano il supporto per rispondere al BrowseStop comando, anche se non è necessario usarlo. In molti casi l'implementazione in risposta a tale comando è responsabilità del writer dell'applicazione.

Utilizzo degli attributi XAML

<object property="NavigationCommands.BrowseStop"/>

Si applica a

Vedi anche