Frame.CanGoForward Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether there is at least one entry in forward navigation history.
public:
property bool CanGoForward { bool get(); };
bool CanGoForward();
public bool CanGoForward { get; }
var boolean = frame.canGoForward;
Public ReadOnly Property CanGoForward As Boolean
Property Value
bool
true
if there is at least one entry in forward navigation history; false
if there are no entries in forward navigation history or the Frame does not own its own navigation history.
Examples
if (contentFrame.CanGoForward)
{
contentFrame.GoForward();
}
Remarks
You should check that the CanGoForward
property is true
before you call GoForward. If you call GoForward
while CanGoForward
is false
, an exception is thrown.