# WebView.IHandler interface

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public interface WebView.IHandler : Control.IHandler
```

Handler interface for the [WebView](https://eto.picoe.ca/api/type/eto.forms.webview.md).

## Properties

- [BrowserContextMenuEnabled](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/browsercontextmenuenabled.md): Gets or sets a value indicating whether the user can click to show the context menu.
- [CanGoBack](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/cangoback.md): Gets a value indicating whether the browser can go back to the previous page in history.
- [CanGoForward](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/cangoforward.md): Gets a value indicating whether the browser can go forward to the next page.
- [DocumentTitle](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/documenttitle.md): Gets the document title of the current page.
- [SupportsResourceHandlers](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/supportsresourcehandlers.md): Gets a value indicating whether the current platform supports [WebView.AddResourceHandler(string, Func<WebViewResourceRequest, WebViewResourceResponse>)](https://eto.picoe.ca/api/type/eto.forms.webview/addresourcehandler.md).
- [Url](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/url.md): Gets or sets the URL of the currently navigated page.

## Methods

- [AddResourceHandler](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/addresourcehandler.md): Serves every request to `host` from `handler` instead of the network.
- [ExecuteScript](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/executescript.md): Executes the specified javascript in the context of the current page, returning its result.
- [ExecuteScriptAsync](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/executescriptasync.md): Executes the specified javascript in the context of the current page asynchronously, returning its result.
- [GoBack](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/goback.md): Navigates the browser back to the previous page in history, if there is one.
- [GoForward](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/goforward.md): Navigates the browser forward to the next page in history, if there is one.
- [LoadHtml](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/loadhtml.md): Loads the specified html string.
- [Reload](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/reload.md): Reloads the current page
- [RemoveResourceHandler](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/removeresourcehandler.md): Stops serving requests to a host added with [WebView.AddResourceHandler(string, Func<WebViewResourceRequest, WebViewResourceResponse>)](https://eto.picoe.ca/api/type/eto.forms.webview/addresourcehandler.md).
- [ShowPrintDialog](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/showprintdialog.md): Shows the print dialog for the current page.
- [Stop](https://eto.picoe.ca/api/type/eto.forms.webview.ihandler/stop.md): Stops loading the current page.

## Inherited Members

- From [Control.IHandler](https://eto.picoe.ca/api/type/eto.forms.control.ihandler.md): [AllowDrop](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/allowdrop.md), [BackgroundColor](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/backgroundcolor.md), [Cursor](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/cursor.md), [Enabled](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/enabled.md), [HasFocus](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/hasfocus.md), [Height](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/height.md), [IsMouseCaptured](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/ismousecaptured.md), [Location](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/location.md), [Size](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/size.md), [SupportedPlatformCommands](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/supportedplatformcommands.md), [TabIndex](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/tabindex.md), [TabStop](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/tabstop.md), [ToolTip](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/tooltip.md), [Visible](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/visible.md), [VisualControls](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/visualcontrols.md), [Width](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/width.md), [AddGesture](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/addgesture.md), [CaptureMouse](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/capturemouse.md), [ClearGestures](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/cleargestures.md), [DoDragDrop](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/dodragdrop.md), [Focus](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/focus.md), [GetNativeParentWindow](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/getnativeparentwindow.md), [GetPreferredSize](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/getpreferredsize.md), [Invalidate](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/invalidate.md), [MapPlatformCommand](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/mapplatformcommand.md), [OnLoad](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/onload.md), [OnLoadComplete](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/onloadcomplete.md), [OnPreLoad](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/onpreload.md), [OnUnLoad](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/onunload.md), [PointFromScreen](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/pointfromscreen.md), [PointToScreen](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/pointtoscreen.md), [ReleaseMouseCapture](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/releasemousecapture.md), [RemoveGesture](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/removegesture.md), [ResumeLayout](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/resumelayout.md), [SetParent](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/setparent.md), [SuspendLayout](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/suspendlayout.md), [UpdateLayout](https://eto.picoe.ca/api/type/eto.forms.control.ihandler/updatelayout.md)
- From [Widget.IHandler](https://eto.picoe.ca/api/type/eto.widget.ihandler.md): [ID](https://eto.picoe.ca/api/type/eto.widget.ihandler/id.md), [NativeHandle](https://eto.picoe.ca/api/type/eto.widget.ihandler/nativehandle.md), [Widget](https://eto.picoe.ca/api/type/eto.widget.ihandler/widget.md), [HandleEvent](https://eto.picoe.ca/api/type/eto.widget.ihandler/handleevent.md), [Initialize](https://eto.picoe.ca/api/type/eto.widget.ihandler/initialize.md), [UnhandleEvent](https://eto.picoe.ca/api/type/eto.widget.ihandler/unhandleevent.md)
- From [IContextMenuHost](https://eto.picoe.ca/api/type/eto.forms.icontextmenuhost.md): [ContextMenu](https://eto.picoe.ca/api/type/eto.forms.icontextmenuhost/contextmenu.md)
