TCnWebBrowser.CanGoBack Property

Gets a value indicating whether a previous page in navigation history is available, which allows the GoBack() method to succeed.

Namespace: CNClrLib.Control.WebBrowser
public
 property CanGoBack: Boolean read GetCanGoBack;

Property Value

Type: Boolean

true if the control can navigate backward; otherwise, false.

The TCnWebBrowser control maintains a history list of all the Web pages visited during a browsing session. The GoBack method navigates the TCnWebBrowser control to the previous page in this history, if one is available. Use the CanGoBack property to determine whether navigation history is available and contains a previous page. If this property is true, the GoBack method will succeed. Otherwise, calling the GoBack method will return a value of false and no navigation will occur.