Gets a value that indicates whether there is at least one entry in back navigation history.
Public ReadOnly Property CanGoBack As Boolean Get
public bool CanGoBack { get; }
public: property bool CanGoBack { bool get (); }
member CanGoBack : bool
CanGoBack to determine whether there is at least one entry in back navigation history. This property should be inspected before calling GoBack; if GoBack is called and there are no entries in back navigation history, an InvalidOperationException is thrown.
that if navigation history is shared by multiple navigators (NavigationWindow, Frame), the most recent entry in back navigation history may not have been added by the NavigationService for the current navigator.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2