WebBrowser::ReadyState Property
Gets a value indicating the current state of the WebBrowser control.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property WebBrowserReadyState ReadyState { WebBrowserReadyState get(); }
Property Value
Type: System.Windows.Forms::WebBrowserReadyStateOne of the WebBrowserReadyState values.
| Exception | Condition |
|---|---|
| ObjectDisposedException | This WebBrowser instance is no longer valid. |
| InvalidOperationException | A reference to an implementation of the IWebBrowser2 interface could not be retrieved from the underlying ActiveX WebBrowser control. |
Use the ReadyState property to retrieve the specific state of the WebBrowser control when you need more information than the IsBusy property provides.
When the WebBrowser control does not contain a document, the value of this property is WebBrowserReadyState::Uninitialized. Other values indicate the control state when it navigates to a new document. These values include WebBrowserReadyState::Loading, WebBrowserReadyState::Loaded, WebBrowserReadyState::Interactive, and WebBrowserReadyState::Complete.
for immediate callers to use this control. Demand value: LinkDemand; NIB: Named Permission Sets: FullTrust.
Available since 2.0