CanGoBack Property

NavigationWindow.CanGoBack Property

Gets a value that indicates whether there is at least one entry in back navigation history. This is a dependency property.

Namespace:  System.Windows.Navigation
Assembly:  PresentationFramework (in PresentationFramework.dll)

Public ReadOnly Property CanGoBack As Boolean
Dim instance As NavigationWindow 
Dim value As Boolean 

value = instance.CanGoBack
You cannot set this property in XAML.

Property Value

Type: System.Boolean
true if there is at least one entry in back navigation history; false if there are no entries in back navigation history or the NavigationWindow does not own its own navigation history.

Identifier field


Metadata properties set to true


Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

© 2015 Microsoft