Table of Contents
  • Getting Started
  • EO.Pdf
  • EO.Web
  • EO.WebBrowser
  • EO.Wpf
  • Common Topics
  • Reference
    • .NET API Reference
      • EO.Base
      • EO.Base.UI
      • EO.Extensions
      • EO.Pdf
      • EO.Pdf.Acm
      • EO.Pdf.Contents
      • EO.Pdf.Drawing
      • EO.Pdf.Mvc
      • EO.Web
      • EO.WebBrowser
        • EO.WebBrowser
        • Classes
          • AfterPrintEventArgs Class
          • BeforeContextMenuEventArgs Class
          • BeforeDownloadEventArgs Class
          • BeforeNavigateEventArgs Class
          • BeforePrintEventArgs Class
          • BeforeRequestLoadEventArgs Class
          • BrowserObject Class
          • CertificateErrorEventArgs Class
          • CommandEventArgs Class
          • CommandIds Class
          • ConsoleMessageEventArgs Class
          • ContextMenu Class
          • ContextMenuInfo Class
          • DOMNodeEventArgs Class
          • DOMNodeInfo Class
          • DownloadEventArgs Class
          • DownloadItem Class
          • DownloadResult Class
          • FileDialogEventArgs Class
          • FindSession Class
          • Frame Class
          • FrameEventArgs Class
          • FullscreenModeChangedArgs Class
          • GiveFocusEventArgs Class
          • JSDialogEventArgs Class
          • JSException Class
          • JSExtInvokeArgs Class
          • JSFunction Class
          • JSInvokeException Class
          • JSNull Class
          • JSObject Class
          • JSRealObject Class
          • JSUndefined Class
          • LaunchUrlEventArgs Class
          • LoadCompletedEventArgs Class
          • LoadFailedEventArgs Class
          • MenuItem Class
          • MenuItemCollection Class
          • NavigationTask Class
          • NeedClientCertificateEventArgs Class
          • NeedCredentialsEventArgs Class
          • NewWindowEventArgs Class
          • PostDataCollection Class
          • PostDataItem Class
          • PreloadTask Class
          • RawBitmapData Class
          • RenderUnresponsiveEventArgs Class
          • Request Class
          • RequestCanceledException Class
          • RequestEventArgs Class
          • RequestPermissionEventArgs Class
          • ResourceHandler Class
          • ResourceHandlerContext Class
          • Response Class
          • ResponseEventArgs Class
          • Runtime Class
          • ScriptTask Class
          • ScriptTaskDoneEventArgs Class
          • Shortcut Class
          • ShouldForceDownloadEventArgs Class
          • SSLStatus Class
          • ThreadRunner Class
          • WebView Class
          • WebViewClosedEventArgs Class
          • WebViewClosingEventArgs Class
          • WebViewTask Class
        • Interfaces
        • Enumerations
        • Delegates
      • EO.WebBrowser.DOM
      • EO.WebEngine
      • EO.WinForm
      • EO.Wpf
      • EO.Wpf.Gauge
      • EO.Wpf.Gauge.Shapes
      • EO.Wpf.Primitives
      • EO.Wpf.Themes.Aero
      • EO.Wpf.Themes.Classic
      • EO.Wpf.Themes.Luna
      • EO.Wpf.Themes.Metro
      • EO.Wpf.Themes.Royale
    • JavaScript API Reference
WebView Members

The WebView class exposes the following members.

Constructors
Name Description
WebView(); Create a new instance of the WebView class.
Properties
Name Description
AcceptLanguage Gets or sets the Accept-Langauge header entry.
AllowDropLoad Gets or sets a value indicating whether the WebView should allow user to load a file by dragging and dropping the file on the WebView.
CanEvalScript Returns a value indicating whether EvalScript can be called at this moment.
CanGoBack Gets a value indicating whether the WebView can go back to the previous page.
CanGoForward Gets a value indicating whether the WebView can go to the next page.
CanRaiseEvents (inherited from Component) 
Container (inherited from Component) 
DesignMode (inherited from Component) 
Downloads Gets a list of download that have started or completed.
Engine Gets or sets the Engine associated to this WebView.
Events (inherited from Component) 
Favicon Gets the favicon of the current page.
Handle Gets the window handle of the WebView.
HasFocus Returns a value indicating whether this WebView has focus.
InputMsgFilter Gets or sets an IInputMsgFilter that can be used to filter input messages from the WebView.
IsCreated Returns a value indicating whether the WebView has already been created and has not been destroyed yet.
IsFullscreenMode Gets a value indicating whether the WebView is in full screen mode.
IsLoading Gets a value indicating whether the WebView is in the process of loading a page.
IsNewWindow Returns whether this WebView is created due to a NewWindow event.
IsReady Gets a value indicating whether the WebView is ready.
JSInitCode Gets or sets the JavaScript code to be run immediately after the window has been created.
LastJSException Get the last JavaScript exception.
ObjectForScripting Exposes a .NET object to JavaScript for this WebView.
Shortcuts Gets or sets the shortcut list for this WebView.
Site (inherited from Component) 
StatusMessage Gets the status message.
ThreadRunner Gets the ThreadRunner object associated to this WebView.
Title Gets or sets the page title.
UnloadDelay Specifies the amount of the time the WebView should wait before it destroys after it has been taken off the screen.
Url Gets or sets the current Url.
WindowName Returns the name of the window.
ZoomFactor Gets or sets the zoom factor for this WebView. A value of "1" is 100%.
Methods
Name Description
CaptureOverloaded. Captures the current rendering result.
CaptureRawOverloaded. Captures the current rendering result and returns the raw bitmap data.
Close Closes this WebView.
CloseDebugUI Close the debug UI.
Create Initialize the WebView and associate it to a window handle.
CreateObjRef (inherited from MarshalByRefObject) 
Destroy Destroy the WebView object.
Dispose (inherited from Component)Overloaded.  
Dispose (inherited from Component)Overloaded.  
DoEventsOverloaded. Processes all Windows messages currently in the message queue.
Download Download a Url and save the result to a temporary file.
DownloadWithResult Download a Url and save the result to a temporary file.
Equals (inherited from Object) 
EvalScriptOverloaded. Execute JavaScript code in the main frame.
ExecCommand Executes the default behavior of a command.
ExitFullscreenMode Exits full screen mode.
Finalize (inherited from Component) 
GetContentAreaSizeOverloaded. Gets the size of the visible area.
GetDefaultPrinterSettings Retreives the default printing settings.
GetDOMWindow Returns the JavaScript DOM window object.
GetHashCode (inherited from Object) 
GetHtml Returns the current page HTML.
GetLifetimeService (inherited from MarshalByRefObject) 
GetPageSize Returns the size of the page loaded in the WebView.
GetScrollOffset Gets the current scrolling offset.
GetService (inherited from Component) 
GetSource Gets the source HTML of the current document.
GetSSLStatus Returns the SSL status of the current page.
GetText Returns the current page text.
GetType (inherited from Object) 
GoBack Load the previous page into the WebView.
GoForward Load the next page into the WebView.
HideDevTools Hides the developer tools interface.
InitializeLifetimeService (inherited from MarshalByRefObject) 
InvokeFunction Invoke a JavaScript function.
LoadHtmlOverloaded. Load raw HTML into the WebView.
LoadHtmlAndWaitOverloaded. Load raw HTML and wait until it has finished loading.
LoadRequest Loads a request into this WebView.
LoadRequestAndWait Loads a request and wait for it to finish loading.
LoadUrlOverloaded. Loads a Url into this WebView.
LoadUrlAndWait Loads a Url and wait for it to finish loading.
MemberwiseClone (inherited from MarshalByRefObject)Overloaded.  
MemberwiseClone (inherited from Object)Overloaded.  
PreloadOverloaded. Create a WebView and preload a Url.
PrintOverloaded. Print the current page.
QueueScriptTaskOverloaded. Execute a piece of JavaScript code as soon as possible.
RegisterJSExtensionFunction Register a function that can be called from JavaScript code.
RegisterResourceHandler Register a custom resource handler.
ReloadOverloaded. Reloads the current page.
ResizeOverloaded. Resizes the WebView.
RunLater Executes the action asynchronously on the same thread associated to this WebView at a later time.
SendCharOverloaded. Simulates a characther input.
SendKeyEventOverloaded. Simulates a key down or key up event.
SendMouseEvent Simulates a mouse event to the WebView.
SetFocus Sets the keyboard focus to this WebView.
SetOptions Sets the WebView options.
SetScrollOffset Sets the current scrolling offset.
ShowDebugUI Displays debug UI for you to examine all WebView instances in the current process.
ShowDevTools Displays the developer tools interface in a separate window.
StartFindSession Starts a new find session.
StopLoad Stop loading the current page.
ToString (inherited from Component) 
UnregisterResourceHandler Unregister a previously registered resource handler.
See Also