Click or drag to resize

IWpfWebBrowser Interface

Version 94.4.20
WPF specific implementation, has reference to some of the commands and properties the ChromiumWebBrowser exposes.

Namespace:  CefSharp.Wpf
Assembly:  CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax
public interface IWpfWebBrowser : IWebBrowser, 
	IDisposable, IInputElement

The IWpfWebBrowser type exposes the following members.

Properties
  NameDescription
Public propertyAddress
The address (URL) which the browser control is currently displaying. Will automatically be updated as the user navigates to another page (e.g. by clicking on a link).
(Inherited from IWebBrowser.)
Public propertyAudioHandler
Implement IAudioHandler to handle audio events.
(Inherited from IWebBrowser.)
Public propertyBackCommand
Navigates to the previous page in the browser history. Will automatically be enabled/disabled depending on the browser state.
Public propertyCanExecuteJavascriptInMainFrame
A flag that indicates if you can execute javascript in the main frame. Flag is set to true in IRenderProcessMessageHandler.OnContextCreated. and false in IRenderProcessMessageHandler.OnContextReleased
(Inherited from IWebBrowser.)
Public propertyCanGoBack
A flag that indicates whether the state of the control current supports the GoBack action (true) or not (false).
(Inherited from IWebBrowser.)
Public propertyCanGoForward
A flag that indicates whether the state of the control currently supports the GoForward action (true) or not (false).
(Inherited from IWebBrowser.)
Public propertyCleanupCommand
Command which cleans up the Resources used by the ChromiumWebBrowser
Public propertyCopyCommand
Copy selected text to the clipboard.
Public propertyCutCommand
Cut selected text to the clipboard.
Public propertyDialogHandler
Implement IDialogHandler and assign to handle dialog events.
(Inherited from IWebBrowser.)
Public propertyDispatcher
Gets the Dispatcher associated with this instance.
Public propertyDisplayHandler
Implement IDisplayHandler and assign to handle events related to browser display state.
(Inherited from IWebBrowser.)
Public propertyDownloadHandler
Implement IDownloadHandler and assign to handle events related to downloading files.
(Inherited from IWebBrowser.)
Public propertyDragHandler
Implement IDragHandler and assign to handle events related to dragging.
(Inherited from IWebBrowser.)
Public propertyFindHandler
Implement IFindHandler to handle events related to find results.
(Inherited from IWebBrowser.)
Public propertyFocusable
Gets or sets a value that indicates whether focus can be set to this element.
(Inherited from IInputElement.)
Public propertyFocusHandler
Implement IFocusHandler and assign to handle events related to the browser component's focus
(Inherited from IWebBrowser.)
Public propertyForwardCommand
Navigates to the next page in the browser history. Will automatically be enabled/disabled depending on the browser state.
Public propertyFrameHandler
Implement IFrameHandler to handle frame events.
(Inherited from IWebBrowser.)
Public propertyIsBrowserInitialized
A flag that indicates whether the WebBrowser is initialized (true) or not (false).
(Inherited from IWebBrowser.)
Public propertyIsDisposed
A flag that indicates whether the WebBrowser has been disposed () or not ()
(Inherited from IWebBrowser.)
Public propertyIsEnabled
Gets a value that indicates whether this element is enabled in the user interface (UI).
(Inherited from IInputElement.)
Public propertyIsKeyboardFocused
Gets a value that indicates whether this element has keyboard focus.
(Inherited from IInputElement.)
Public propertyIsKeyboardFocusWithin
Gets a value that indicates whether keyboard focus is anywhere inside the element bounds, including if keyboard focus is inside the bounds of any visual child elements.
(Inherited from IInputElement.)
Public propertyIsLoading
A flag that indicates whether the control is currently loading one or more web pages (true) or not (false).
(Inherited from IWebBrowser.)
Public propertyIsMouseCaptured
Gets a value that indicates whether the mouse is captured to this element.
(Inherited from IInputElement.)
Public propertyIsMouseDirectlyOver
Gets a value that indicates whether the mouse pointer is over this element in the strictest hit testing sense.
(Inherited from IInputElement.)
Public propertyIsMouseOver
Gets a value that indicates whether the mouse pointer is located over this element (including visual children elements that are inside its bounds).
(Inherited from IInputElement.)
Public propertyIsStylusCaptured
Gets a value that indicates whether the stylus is captured to this element.
(Inherited from IInputElement.)
Public propertyIsStylusDirectlyOver
Gets a value that indicates whether the stylus is over this element in the strictest hit testing sense.
(Inherited from IInputElement.)
Public propertyIsStylusOver
Gets a value that indicates whether the stylus is located over this element (or over visual child elements that are inside its bounds).
(Inherited from IInputElement.)
Public propertyJavascriptObjectRepository
The javascript object repository, one repository per ChromiumWebBrowser instance.
(Inherited from IWebBrowser.)
Public propertyJsDialogHandler
Implement IJsDialogHandler and assign to handle events related to JavaScript Dialogs.
(Inherited from IWebBrowser.)
Public propertyKeyboardHandler
Implement IKeyboardHandler and assign to handle events related to key press.
(Inherited from IWebBrowser.)
Public propertyLifeSpanHandler
Implement ILifeSpanHandler and assign to handle events related to popups.
(Inherited from IWebBrowser.)
Public propertyLoadHandler
Implement ILoadHandler and assign to handle events related to browser load status.
(Inherited from IWebBrowser.)
Public propertyMenuHandler
Implement IContextMenuHandler and assign to handle events related to the browser context menu
(Inherited from IWebBrowser.)
Public propertyPasteCommand
Paste text from the clipboard.
Public propertyPrintCommand
Prints the current browser contents.
Public propertyRedoCommand
Redo last action.
Public propertyReloadCommand
Reloads the content of the current page. Will automatically be enabled/disabled depending on the browser state.
Public propertyRenderProcessMessageHandler
Implement IRenderProcessMessageHandler and assign to handle messages from the render process.
(Inherited from IWebBrowser.)
Public propertyRequestContext
Gets the custom request context assigned to this browser instance If no instance was assigned this will be null and the global request context will have been used for this browser. You can access the global request context through Cef.GetGlobalRequestContext()
(Inherited from IWebBrowser.)
Public propertyRequestHandler
Implement IRequestHandler and assign to handle events related to browser requests.
(Inherited from IWebBrowser.)
Public propertyResourceRequestHandlerFactory
Implement IResourceRequestHandlerFactory and control the loading of resources
(Inherited from IWebBrowser.)
Public propertySelectAllCommand
Select all text.
Public propertyStopCommand
Stops loading the current page.
Public propertyTitle
The title of the web page being currently displayed.
Public propertyTooltipText
The text that will be displayed as a ToolTip
(Inherited from IWebBrowser.)
Public propertyUndoCommand
Undo last action.
Public propertyViewSourceCommand
Opens up a new program window (using the default text editor) where the source code of the currently displayed web page is shown.
Public propertyZoomInCommand
Increases the zoom level.
Public propertyZoomLevel
The zoom level at which the browser control is currently displaying. Can be set to 0 to clear the zoom level (resets to default zoom level).
Public propertyZoomLevelIncrement
The increment at which the ZoomLevel property will be incremented/decremented.
Public propertyZoomOutCommand
Decreases the zoom level.
Public propertyZoomResetCommand
Resets the zoom level to the default. (100%)
Top
Methods
  NameDescription
Public methodAddHandler
Adds a routed event handler for a specific routed event to an element.
(Inherited from IInputElement.)
Public methodCaptureMouse
Attempts to force capture of the mouse to this element.
(Inherited from IInputElement.)
Public methodCaptureStylus
Attempts to force capture of the stylus to this element.
(Inherited from IInputElement.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodFocus
Attempts to give focus to the IWebBrowser control.
(Inherited from IWebBrowser.)
Public methodGetBrowser
Returns the current CEF Browser Instance
(Inherited from IWebBrowser.)
Public methodLoad
Loads the specified url in the Main Frame
(Inherited from IWebBrowser.)
Public methodLoadUrlAsync
Load the url in the main frame of the browser
(Inherited from IWebBrowser.)
Public methodRaiseEvent
Raises the routed event that is specified by the RoutedEvent property within the provided RoutedEventArgs.
(Inherited from IInputElement.)
Public methodReleaseMouseCapture
Releases the mouse capture, if this element holds the capture.
(Inherited from IInputElement.)
Public methodReleaseStylusCapture
Releases the stylus capture, if this element holds the capture.
(Inherited from IInputElement.)
Public methodRemoveHandler
Removes all instances of the specified routed event handler from this element.
(Inherited from IInputElement.)
Top
Events
  NameDescription
Public eventConsoleMessage
Event handler for receiving Javascript console messages being sent from web pages. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread. (The exception to this is when you're running with settings.MultiThreadedMessageLoop = false, then they'll be the same thread).
(Inherited from IWebBrowser.)
Public eventFrameLoadEnd
Event handler that will get called when the browser is done loading a frame. Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. This method will always be called for all frames irrespective of whether the request completes successfully. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread.
(Inherited from IWebBrowser.)
Public eventFrameLoadStart
Event handler that will get called when the browser begins loading a frame. Multiple frames may be loading at the same time. Sub-frames may start or continue loading after the main frame load has ended. This method may not be called for a particular frame if the load request for that frame fails. For notification of overall browser load status use OnLoadingStateChange instead. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread.
(Inherited from IWebBrowser.)
Public eventGotKeyboardFocus
Occurs when the keyboard is focused on this element.
(Inherited from IInputElement.)
Public eventGotMouseCapture
Occurs when the element captures the mouse.
(Inherited from IInputElement.)
Public eventGotStylusCapture
Occurs when the element captures the stylus.
(Inherited from IInputElement.)
Public eventJavascriptMessageReceived
Event handler that will get called when the message that originates from CefSharp.PostMessage
(Inherited from IWebBrowser.)
Public eventKeyDown
Occurs when a key is pressed while the keyboard is focused on this element.
(Inherited from IInputElement.)
Public eventKeyUp
Occurs when a key is released while the keyboard is focused on this element.
(Inherited from IInputElement.)
Public eventLoadError
Event handler that will get called when the resource load for a navigation fails or is canceled. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread.
(Inherited from IWebBrowser.)
Public eventLoadingStateChanged
Event handler that will get called when the Loading state has changed. This event will be fired twice. Once when loading is initiated either programmatically or by user action, and once when loading is terminated due to completion, cancellation of failure. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang.. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread.
(Inherited from IWebBrowser.)
Public eventLostKeyboardFocus
Occurs when the keyboard is no longer focused on this element.
(Inherited from IInputElement.)
Public eventLostMouseCapture
Occurs when this element loses mouse capture.
(Inherited from IInputElement.)
Public eventLostStylusCapture
Occurs when this element loses stylus capture.
(Inherited from IInputElement.)
Public eventMouseEnter
Occurs when the mouse pointer enters the bounds of this element.
(Inherited from IInputElement.)
Public eventMouseLeave
Occurs when the mouse pointer leaves the bounds of this element.
(Inherited from IInputElement.)
Public eventMouseLeftButtonDown
Occurs when the left mouse button is pressed while the mouse pointer is over the element.
(Inherited from IInputElement.)
Public eventMouseLeftButtonUp
Occurs when the left mouse button is released while the mouse pointer is over the element.
(Inherited from IInputElement.)
Public eventMouseMove
Occurs when the mouse pointer moves while the mouse pointer is over the element.
(Inherited from IInputElement.)
Public eventMouseRightButtonDown
Occurs when the right mouse button is pressed while the mouse pointer is over the element.
(Inherited from IInputElement.)
Public eventMouseRightButtonUp
Occurs when the right mouse button is released while the mouse pointer is over the element.
(Inherited from IInputElement.)
Public eventMouseWheel
Occurs when the mouse wheel moves while the mouse pointer is over this element.
(Inherited from IInputElement.)
Public eventPaint
Raised every time OnPaint(PaintElementType, Rect, IntPtr, Int32, Int32) is called. You can access the underlying buffer, though it's preferable to either override OnPaint(Boolean, Rect, IntPtr, Int32, Int32) or implement your own IRenderHandler as there is no outwardly accessible locking (locking is done within the default IRenderHandler implementations). It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread
Public eventPreviewGotKeyboardFocus
Occurs when the keyboard is focused on this element.
(Inherited from IInputElement.)
Public eventPreviewKeyDown
Occurs when a key is pressed while the keyboard is focused on this element.
(Inherited from IInputElement.)
Public eventPreviewKeyUp
Occurs when a key is released while the keyboard is focused on this element.
(Inherited from IInputElement.)
Public eventPreviewLostKeyboardFocus
Occurs when the keyboard is no longer focused on this element.
(Inherited from IInputElement.)
Public eventPreviewMouseLeftButtonDown
Occurs when the left mouse button is pressed while the mouse pointer is over the element.
(Inherited from IInputElement.)
Public eventPreviewMouseLeftButtonUp
Occurs when the left mouse button is released while the mouse pointer is over the element.
(Inherited from IInputElement.)
Public eventPreviewMouseMove
Occurs when the mouse pointer moves while the mouse pointer is over the element.
(Inherited from IInputElement.)
Public eventPreviewMouseRightButtonDown
Occurs when the right mouse button is pressed while the mouse pointer is over the element.
(Inherited from IInputElement.)
Public eventPreviewMouseRightButtonUp
Occurs when the right mouse button is released while the mouse pointer is over the element.
(Inherited from IInputElement.)
Public eventPreviewMouseWheel
Occurs when the mouse wheel moves while the mouse pointer is over this element.
(Inherited from IInputElement.)
Public eventPreviewStylusButtonDown
Occurs when the stylus button is pressed down while the stylus is over this element.
(Inherited from IInputElement.)
Public eventPreviewStylusButtonUp
Occurs when the stylus button is released while the stylus is over this element.
(Inherited from IInputElement.)
Public eventPreviewStylusDown
Occurs when the stylus touches the digitizer while over this element.
(Inherited from IInputElement.)
Public eventPreviewStylusInAirMove
Occurs when the stylus moves over an element, but without touching the digitizer.
(Inherited from IInputElement.)
Public eventPreviewStylusInRange
Occurs when the stylus is close enough to the digitizer to be detected.
(Inherited from IInputElement.)
Public eventPreviewStylusMove
Occurs when the stylus moves while the stylus is over the element.
(Inherited from IInputElement.)
Public eventPreviewStylusOutOfRange
Occurs when the stylus is too far from the digitizer to be detected.
(Inherited from IInputElement.)
Public eventPreviewStylusSystemGesture
Occurs when one of several stylus gestures are detected, for example, Tap or Drag.
(Inherited from IInputElement.)
Public eventPreviewStylusUp
Occurs when the stylus is raised off the digitizer while over this element.
(Inherited from IInputElement.)
Public eventPreviewTextInput
Occurs when this element gets text in a device-independent manner.
(Inherited from IInputElement.)
Public eventStatusMessage
Event handler for changes to the status message. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread. It is unwise to block on this thread for any length of time as your browser will become unresponsive and/or hang. To access UI elements you'll need to Invoke/Dispatch onto the UI Thread. (The exception to this is when you're running with settings.MultiThreadedMessageLoop = false, then they'll be the same thread).
(Inherited from IWebBrowser.)
Public eventStylusButtonDown
Occurs when the stylus button is pressed while the stylus is over this element.
(Inherited from IInputElement.)
Public eventStylusButtonUp
Occurs when the stylus button is released while the stylus is over this element.
(Inherited from IInputElement.)
Public eventStylusDown
Occurs when the stylus touches the digitizer while over this element.
(Inherited from IInputElement.)
Public eventStylusEnter
Occurs when the stylus cursor enters the bounds of the element.
(Inherited from IInputElement.)
Public eventStylusInAirMove
Occurs when the stylus moves over an element, but without touching the digitizer.
(Inherited from IInputElement.)
Public eventStylusInRange
Occurs when the stylus is close enough to the digitizer to be detected.
(Inherited from IInputElement.)
Public eventStylusLeave
Occurs when the stylus cursor leaves the bounds of the element.
(Inherited from IInputElement.)
Public eventStylusMove
Occurs when the stylus cursor moves over the element.
(Inherited from IInputElement.)
Public eventStylusOutOfRange
Occurs when the stylus is too far from the digitizer to be detected.
(Inherited from IInputElement.)
Public eventStylusSystemGesture
Occurs when one of several stylus gestures are detected, for example, Tap or Drag.
(Inherited from IInputElement.)
Public eventStylusUp
Occurs when the stylus is raised off the digitizer while over this element.
(Inherited from IInputElement.)
Public eventTextInput
Occurs when this element gets text in a device-independent manner.
(Inherited from IInputElement.)
Public eventVirtualKeyboardRequested
Raised every time OnVirtualKeyboardRequested(IBrowser, TextInputMode) is called. It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI thread
Top
Extension Methods
  NameDescription
Public Extension MethodAddWordToDictionary
Add the specified word to the spelling dictionary.
(Defined by WebBrowserExtensions.)
Public Extension MethodBack
Navigates back, must check CanGoBack before calling this method.
(Defined by WebBrowserExtensions.)
Public Extension MethodCloseDevTools
Explicitly close the developer tools window if one exists for this browser instance.
(Defined by WebBrowserExtensions.)
Public Extension MethodCopy
Execute Copy on the focused frame.
(Defined by WebBrowserExtensions.)
Public Extension MethodCut
Execute Cut on the focused frame.
(Defined by WebBrowserExtensions.)
Public Extension MethodDelete
Execute Delete on the focused frame.
(Defined by WebBrowserExtensions.)
Public Extension MethodCode exampleDestroyWindow
Manually call https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-destroywindow passing in the handle returned from GetWindowHandle. This method can be used to manually close the underlying CefBrowser instance. This will avoid the WM_Close message that CEF sends by default to the top level window. (Which closes your application). This method should generally only be used in the WinForms version.
(Defined by WebBrowserExtensions.)
Public Extension MethodEnsureObjectBoundAsync
Make sure an object is bound in javascript. Executes against the main frame
(Defined by JavascriptBindingExtensions.)
Public Extension MethodEvaluateScriptAsPromiseAsync
Evaluate some Javascript code in the context of the MainFrame of the ChromiumWebBrowser. The script will be executed asynchronously and the method returns a Task encapsulating the response from the Javascript. The result of the script execution in javascript is Promise.resolve so even no promise values will be treated as a promise. Your javascript should return a value. The javascript will be wrapped in an Immediately Invoked Function Expression. When the promise either trigger then/catch this returned Task will be completed.
(Defined by WebBrowserExtensions.)
Public Extension MethodEvaluateScriptAsync(String, Object)Overloaded.
Evaluate some Javascript code in the context of this WebBrowser. The script will be executed asynchronously and the method returns a Task encapsulating the response from the Javascript This simple helper extension will encapsulate params in single quotes (unless int, uint, etc)
(Defined by WebBrowserExtensions.)
Public Extension MethodEvaluateScriptAsync(String, NullableTimeSpan, Boolean)Overloaded.
Evaluate some Javascript code in the context of the MainFrame of the ChromiumWebBrowser. The script will be executed asynchronously and the method returns a Task encapsulating the response from the Javascript
(Defined by WebBrowserExtensions.)
Public Extension MethodEvaluateScriptAsync(NullableTimeSpan, String, Object)Overloaded.
Evaluate some Javascript code in the context of this WebBrowser using the specified timeout. The script will be executed asynchronously and the method returns a Task encapsulating the response from the Javascript This simple helper extension will encapsulate params in single quotes (unless int, uint, etc).
(Defined by WebBrowserExtensions.)
Public Extension MethodExecuteDevToolsMethodAsync
Execute a method call over the DevTools protocol. This is a more structured version of SendDevToolsMessage. ExecuteDevToolsMethod(IBrowserHost, Int32, String, JsonString) can only be called on the CEF UI Thread, this method can be called on any thread. See the DevTools protocol documentation at https://chromedevtools.github.io/devtools-protocol/ for details of supported methods and the expected parameters dictionary contents. See the SendDevToolsMessage documentation for additional usage information.
(Defined by DevToolsExtensions.)
Public Extension MethodExecuteScriptAsync(String)Overloaded.
Execute some Javascript code in the context of this WebBrowser. As the method name implies, the script will be executed asynchronously, and the method therefore returns before the script has actually been executed.
(Defined by WebBrowserExtensions.)
Public Extension MethodExecuteScriptAsync(String, Object)Overloaded.
Execute some Javascript code in the context of this WebBrowser. As the method name implies, the script will be executed asynchronously, and the method therefore returns before the script has actually been executed. This simple helper extension will encapsulate params in single quotes (unless int, uint, etc)
(Defined by WebBrowserExtensions.)
Public Extension MethodExecuteScriptAsyncWhenPageLoaded
Execute Javascript code in the context of this WebBrowser. This extension method uses the LoadingStateChanged event. As the method name implies, the script will be executed asynchronously, and the method therefore returns before the script has actually been executed.
(Defined by WebBrowserExtensions.)
Public Extension MethodFind
Search for text within the current page.
(Defined by WebBrowserExtensions.)
Public Extension MethodForward
Navigates forward, must check CanGoForward before calling this method.
(Defined by WebBrowserExtensions.)
Public Extension MethodGetBrowserHost
Shortcut method to get the browser IBrowserHost.
(Defined by WebBrowserExtensions.)
Public Extension MethodGetCookieManager
Gets the default cookie manager associated with the IWebBrowser.
(Defined by WebBrowserExtensions.)
Public Extension MethodGetDevToolsClient
Gets a new Instance of the DevTools client for the chromiumWebBrowser instance.
(Defined by DevToolsExtensions.)
Public Extension MethodGetFocusedFrame
Returns the focused frame for the browser window.
(Defined by WebBrowserExtensions.)
Public Extension MethodGetMainFrame
Returns the main (top-level) frame for the browser window.
(Defined by WebBrowserExtensions.)
Public Extension MethodGetSourceAsync (Defined by WebBrowserExtensions.)
Public Extension MethodGetTextAsync (Defined by WebBrowserExtensions.)
Public Extension MethodGetVisibleNavigationEntryAsync
Retrieve the current NavigationEntry. Contains information like HttpStatusCode and SslStatus
(Defined by WebBrowserExtensionsEx.)
Public Extension MethodGetZoomLevelAsync
Asynchronously gets the current Zoom Level.
(Defined by WebBrowserExtensions.)
Public Extension MethodLoadHtml(String, String)Overloaded.
Registers and loads a ResourceHandler that represents the HTML content.
(Defined by WebBrowserExtensions.)
Public Extension MethodLoadHtml(String, Boolean)Overloaded.
Loads html as Data Uri See https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs for details If base64Encode is false then html will be Uri encoded.
(Defined by WebBrowserExtensions.)
Public Extension MethodLoadHtml(String, String, Encoding, Boolean)Overloaded.
Registers and loads a ResourceHandler that represents the HTML content.
(Defined by WebBrowserExtensions.)
Public Extension MethodLoadUrlWithPostData
Creates a new instance of IRequest with the specified Url and Method = POST and then calls LoadRequest(IRequest).
(Defined by WebBrowserExtensions.)
Public Extension MethodPaste
Execute Paste on the focused frame.
(Defined by WebBrowserExtensions.)
Public Extension MethodPrint
Opens a Print Dialog which if used (can be user cancelled) will print the browser contents.
(Defined by WebBrowserExtensions.)
Public Extension MethodPrintToPdfAsync
Asynchronously prints the current browser contents to the PDF file specified. The caller is responsible for deleting the file when done.
(Defined by WebBrowserExtensions.)
Public Extension MethodRedo
Execute Redo on the focused frame.
(Defined by WebBrowserExtensions.)
Public Extension MethodRegisterAsyncJsObject

Asynchronously registers a Javascript object in this specific browser instance.

Only methods of the object will be availabe.

(Defined by WebBrowserExtensions.)
Public Extension MethodRegisterJsObject
Registers a Javascript object in this specific browser instance.
(Defined by WebBrowserExtensions.)
Public Extension MethodRegisterResourceHandler
Register a ResourceHandler. Can only be used when browser.ResourceHandlerFactory is an instance of DefaultResourceHandlerFactory.
(Defined by WebBrowserExtensions.)
Public Extension MethodReloadOverloaded.
Reloads the page being displayed. This method will use data from the browser's cache, if available.
(Defined by WebBrowserExtensions.)
Public Extension MethodReload(Boolean)Overloaded.
Reloads the page being displayed, optionally ignoring the cache (which means the whole page including all .css, .js etc. resources will be re-fetched).
(Defined by WebBrowserExtensions.)
Public Extension MethodReplaceMisspelling
If a misspelled word is currently selected in an editable node calling this method will replace it with the specified word.
(Defined by WebBrowserExtensions.)
Public Extension MethodSelectAll
Execute SelectAll on the focused frame.
(Defined by WebBrowserExtensions.)
Public Extension MethodSendMouseWheelEvent
Send a mouse wheel event to the browser.
(Defined by WebBrowserExtensions.)
Public Extension MethodSetAsPopup (Defined by WebBrowserExtensions.)
Public Extension MethodSetZoomLevel
Change the ZoomLevel to the specified value. Can be set to 0.0 to clear the zoom level.
(Defined by WebBrowserExtensions.)
Public Extension MethodShowDevTools
Open developer tools in its own window.
(Defined by WebBrowserExtensions.)
Public Extension MethodShowDevToolsDocked(Control, String, DockStyle, Int32, Int32)Overloaded.
Open DevTools using parentControl as the parent control. If inspectElementAtX and/or inspectElementAtY are specified then the element at the specified (x,y) location will be inspected. For resize/moving to work correctly you will need to use the LifeSpanHandler implementation. (Set LifeSpanHandler to an instance of LifeSpanHandler)
(Defined by WebBrowserExtensions.)
Public Extension MethodShowDevToolsDocked(ActionChromiumHostControl, String, DockStyle, Int32, Int32)Overloaded.
Open DevTools using your own Control as the parent. If inspectElementAtX and/or inspectElementAtY are specified then the element at the specified (x,y) location will be inspected. For resize/moving to work correctly you will need to use the LifeSpanHandler implementation. (Set LifeSpanHandler to an instance of LifeSpanHandler)
(Defined by WebBrowserExtensions.)
Public Extension MethodStartDownload
Download the file at url using IDownloadHandler.
(Defined by WebBrowserExtensions.)
Public Extension MethodStop
Stops loading the current page.
(Defined by WebBrowserExtensions.)
Public Extension MethodStopFinding
Cancel all searches that are currently going on.
(Defined by WebBrowserExtensions.)
Public Extension MethodUndo
Execute Undo on the focused frame.
(Defined by WebBrowserExtensions.)
Public Extension MethodUnRegisterResourceHandler
Unregister a ResourceHandler. Can only be used when browser.ResourceHandlerFactory is an instance of DefaultResourceHandlerFactory.
(Defined by WebBrowserExtensions.)
Public Extension MethodViewSource
Opens up a new program window (using the default text editor) where the source code of the currently displayed web page is shown.
(Defined by WebBrowserExtensions.)
Top
See Also