Share via


Frame.GoForward Method

Definition

Navigates to the most recent item in forward navigation history, if a Frame manages its own navigation history.

public:
 virtual void GoForward() = GoForward;
void GoForward();
public void GoForward();
function goForward()
Public Sub GoForward ()

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.

Applies to

See also