Type Default Value Read Only Description
[C#]
bool

[Visual Basic]
Boolean
true (overridable by registry value) No Whether to host a WebBrowser control.

 

   

Notes
 

This property determines whether a WebBrowser control is hosted.

By default, a WebBrowser control is hosted. Script-accessible properties (left, top, width, height, offsetLeft, offsetTop, offsetWidth, offsetHeight, clientLeft, clientTop, clientWidth, clientHeight, pixelLeft, pixelTop, pixelWidth, pixelHeight, posLeft, posTop, posWidth, and posHeight) hold their proper values. The source document can be in any format as long as it is HTML-compatible. For example, XML (with or without XSL applied) can be used because the WebBrowser control transforms it to HTML.

When no WebBrowser control is hosted, script-accessible dynamic, geometric properties are always zero. The source document is interpreted strictly in HTML.

This property affects the CoerceVector and the NoCookie properties and the GetHttpStatusCode method.

Currently this value has no effect on IE9. When IE9 is installed in the system, this value is always assumed to be false.


   

Example
 

See the HttpAdditionalHeaders property.