System.Windows.Forms.WebBrowser: Property Members

The properties of System.Windows.Forms.WebBrowser are listed below. For a list of all members, see the WebBrowser Members list.

See Also: Inherited members from System.Windows.Forms.WebBrowserBase

Public Properties

AllowNavigationbool.

Gets or sets a value indicating whether the control can navigate to another page after its initial page has been loaded.

AllowWebBrowserDropbool.

Gets or sets a value indicating whether the System.Windows.Forms.WebBrowser control navigates to documents that are dropped onto it.

[read-only]
CanGoBackbool.

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

[read-only]
CanGoForwardbool.

Gets a value indicating whether a subsequent page in navigation history is available, which allows the WebBrowser.GoForward method to succeed.

[read-only]
DocumentHtmlDocument.

Gets an System.Windows.Forms.HtmlDocument representing the Web page currently displayed in the System.Windows.Forms.WebBrowser control.

DocumentStreamSystem.IO.Stream.

Gets or sets a stream containing the contents of the Web page displayed in the System.Windows.Forms.WebBrowser control.

DocumentTextstring.

Gets or sets the HTML contents of the page displayed in the System.Windows.Forms.WebBrowser control.

[read-only]
DocumentTitlestring.

Gets the title of the document currently displayed in the System.Windows.Forms.WebBrowser control.

[read-only]
DocumentTypestring.

Gets the type of the document currently displayed in the System.Windows.Forms.WebBrowser control.

[read-only]
EncryptionLevelWebBrowserEncryptionLevel.

Gets a value indicating the encryption method used by the document currently displayed in the System.Windows.Forms.WebBrowser control.

[read-only]
override
Focusedbool.

Gets a value indicating whether the control or any of its child windows has input focus.

[read-only]
IsBusybool.

Gets a value indicating whether the System.Windows.Forms.WebBrowser control is currently loading a new document.

[read-only]
IsOfflinebool.

Gets a value indicating whether the System.Windows.Forms.WebBrowser control is in offline mode.

IsWebBrowserContextMenuEnabledbool.

Gets or a sets a value indicating whether the shortcut menu of the System.Windows.Forms.WebBrowser control is enabled.

ObjectForScriptingobject.

Gets or sets an object that can be accessed by scripting code that is contained within a Web page displayed in the System.Windows.Forms.WebBrowser control.

PaddingPadding.

This property is not meaningful for this control.

[read-only]
ReadyStateWebBrowserReadyState.

Gets a value indicating the current state of the System.Windows.Forms.WebBrowser control.

ScriptErrorsSuppressedbool.

Gets or sets a value indicating whether the System.Windows.Forms.WebBrowser displays dialog boxes such as script error messages.

ScrollBarsEnabledbool.

Gets or sets a value indicating whether scroll bars are displayed in the System.Windows.Forms.WebBrowser control.

[read-only]
StatusTextstring.

Gets the status text of the System.Windows.Forms.WebBrowser control.

UrlUri.

Gets or sets the URL of the current document.

[read-only]
VersionVersion.

Gets the version of Internet Explorer installed.

WebBrowserShortcutsEnabledbool.

Gets or sets a value indicating whether keyboard shortcuts are enabled within the System.Windows.Forms.WebBrowser control.

Protected Properties

[read-only]
override
DefaultSizeSystem.Drawing.Size.

Gets the default size of the control.