System.Windows.Forms.WebBrowser.CanGoBackChanged Event

Occurs when the WebBrowser.CanGoBack property value changes.

Syntax

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

Remarks

The System.Windows.Forms.WebBrowser control maintains a history list of all the Web pages visited during a browsing session. The WebBrowser.GoBack method navigates the System.Windows.Forms.WebBrowser control to the previous page in this history, if one is available. The WebBrowser.CanGoBack property indicates whether navigation history is available and contains a previous page. Handle the WebBrowser.CanGoBackChanged event to receive a notification when the WebBrowser.CanGoBack property changes. Handling this event is useful, for example, to change the enabled state of a Back button when the System.Windows.Forms.WebBrowser control navigates to or leaves the beginning 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