System.Windows.Forms.WebBrowser.CanGoForwardChanged Event

Occurs when the WebBrowser.CanGoForward property value changes.

Syntax

[System.ComponentModel.Browsable(false)]
public event EventHandler CanGoForwardChanged

Remarks

The System.Windows.Forms.WebBrowser control maintains a history list of all the Web pages visited during a browsing session. The WebBrowser.GoForward method navigates the System.Windows.Forms.WebBrowser control to the next page in this history, if one is available as a result of a previous backward navigation. The WebBrowser.CanGoForward property indicates whether navigation history is available and contains a page located after the current one, allowing the WebBrowser.GoForward method to succeed. Handle the WebBrowser.CanGoForwardChanged event to receive a notification when the WebBrowser.CanGoForward property changes. Handling this event is useful, for example, to change the enabled state of a Forward button when the System.Windows.Forms.WebBrowser control navigates to or leaves the end of the navigation history.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0