NavigationCommands.BrowseBack Proprietà

Definizione

Ottiene il valore che rappresenta il comando Browse Back.

public:
 static property System::Windows::Input::RoutedUICommand ^ BrowseBack { System::Windows::Input::RoutedUICommand ^ get(); };
public static System.Windows.Input.RoutedUICommand BrowseBack { get; }
static member BrowseBack : System.Windows.Input.RoutedUICommand
Public Shared ReadOnly Property BrowseBack As RoutedUICommand

Valore della proprietà

Comando dell'interfaccia utente indirizzata.

Valori predefiniti
Combinazione di tasti ALT+LEFT
Testo interfaccia utente Indietro

Esempio

Nell'esempio seguente viene illustrato come usare BrowseBack in combinazione con un Frameoggetto . Fornisce Frame un'implementazione che risponde al BrowseBack comando spostandosi indietro Frame , se sono presenti voci di journal nello stack posteriore.

<Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<!-- NavigationCommands.BrowseBack -->
<MenuItem
  Command="NavigationCommands.BrowseBack"
  CommandTarget="{Binding ElementName=frame}" />
<!-- The following Frame is used to process NavigationCommands.BrowseBack commands -->
<Frame Name="frame" NavigationUIVisibility="Hidden" Source="Page1.xaml" />
</Window>

Commenti

Questo comando indica l'intenzione di tornare alla pagina precedente nel journal.

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

Uso della sintassi XAML per gli attributi

<object property="NavigationCommands.BrowseBack"/>  

Si applica a

Vedi anche