Type Default Value Read Only Description
[C#]
bool

[Visual Basic]
Boolean
false No Whether to host a WebBrowser control.

 

   

Notes
 

This property determines whether a WebBrowser control is hosted.

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

When 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.

This property affects the GetHttpStatusCode method.

 

   

Example
 

See the UseScript property.