Click or drag to resize
WebBrowserExtensions Class
Version 51.0.0

[Missing <summary> documentation for "T:CefSharp.WebBrowserExtensions"]

Inheritance Hierarchy
SystemObject
  CefSharpWebBrowserExtensions

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 51.0.0.0 (51.0.0.0)
Syntax
public static class WebBrowserExtensions

The WebBrowserExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddWordToDictionary(IBrowser, String)
Add the specified word to the spelling dictionary.
Public methodStatic memberAddWordToDictionary(IWebBrowser, String)
Add the specified word to the spelling dictionary.
Public methodStatic memberBack
Navigates back, must check CanGoBack before calling this method.
Public methodStatic memberCloseDevTools(IBrowser)
Explicitly close the developer tools window if one exists for this browser instance.
Public methodStatic memberCloseDevTools(IWebBrowser)
Explicitly close the developer tools window if one exists for this browser instance.
Public methodStatic memberCopy
Execute Copy on the focused frame
Public methodStatic memberCut
Execute Cut on the focused frame
Public methodStatic memberDelete
Execute Delete on the focused frame
Public methodStatic memberEvaluateScriptAsync
Public methodStatic memberExecuteScriptAsync(IWebBrowser, String)
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.
Public methodStatic memberExecuteScriptAsync(IWebBrowser, String, Object)
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)
Public methodStatic memberFind(IBrowser, Int32, String, Boolean, Boolean, Boolean)
Search for text within the current page.
Public methodStatic memberFind(IWebBrowser, Int32, String, Boolean, Boolean, Boolean)
Search for text within the current page.
Public methodStatic memberForward
Navigates forward, must check CanGoForward before calling this method.
Public methodStatic memberGetFocusedFrame
Returns the focused frame for the browser window.
Public methodStatic memberGetMainFrame
Returns the main (top-level) frame for the browser window.
Public methodStatic memberGetSourceAsync
Public methodStatic memberGetTextAsync
Public methodStatic memberGetZoomLevelAsync(IBrowser)
Asynchronously gets the current Zoom Level.
Public methodStatic memberGetZoomLevelAsync(IWebBrowser)
Asynchronously gets the current Zoom Level.
Public methodStatic memberLoadHtml(IWebBrowser, String, String)
Registers and loads a ResourceHandler that represents the HTML content.
Public methodStatic memberLoadHtml(IWebBrowser, String, String, Encoding)
Registers and loads a ResourceHandler that represents the HTML content.
Public methodStatic memberLoadString
Load the string contents with the specified dummy url. Web security restrictions may not behave as expected.
Public methodStatic memberPaste
Execute Paste on the focused frame
Public methodStatic memberPrint(IBrowser)
Opens a Print Dialog which if used (can be user cancelled) will print the browser contents.
Public methodStatic memberPrint(IWebBrowser)
Opens a Print Dialog which if used (can be user cancelled) will print the browser contents.
Public methodStatic memberPrintToPdfAsync(IBrowser, String, PdfPrintSettings)
Asynchronously prints the current browser contents to the PDF file specified. The caller is responsible for deleting the file when done.
Public methodStatic memberPrintToPdfAsync(IWebBrowser, String, PdfPrintSettings)
Asynchronously prints the current browser contents to the PDF file specified. The caller is responsible for deleting the file when done.
Public methodStatic memberRedo
Execute Redo on the focused frame
Public methodStatic memberReload(IWebBrowser)
Reloads the page being displayed. This method will use data from the browser's cache, if available.
Public methodStatic memberReload(IWebBrowser, Boolean)
Reloads the page being displayed, optionally ignoring the cache (which means the whole page including all .css, .js etc. resources will be re-fetched).
Public methodStatic memberReplaceMisspelling(IBrowser, String)
If a misspelled word is currently selected in an editable node calling this method will replace it with the specified word.
Public methodStatic memberReplaceMisspelling(IWebBrowser, String)
If a misspelled word is currently selected in an editable node calling this method will replace it with the specified word.
Public methodStatic memberSelectAll
Execute SelectAll on the focused frame
Public methodStatic memberSendMouseWheelEvent(IBrowser, Int32, Int32, Int32, Int32, CefEventFlags)
Public methodStatic memberSendMouseWheelEvent(IWebBrowser, Int32, Int32, Int32, Int32, CefEventFlags)
Public methodStatic memberSetAsPopup
Public methodStatic memberSetZoomLevel(IBrowser, Double)
Change the ZoomLevel to the specified value. Can be set to 0.0 to clear the zoom level.
Public methodStatic memberSetZoomLevel(IWebBrowser, Double)
Change the ZoomLevel to the specified value. Can be set to 0.0 to clear the zoom level.
Public methodStatic memberShowDevTools(IBrowser)
Open developer tools in its own window.
Public methodStatic memberShowDevTools(IWebBrowser)
Open developer tools in its own window.
Public methodStatic memberStop
Stops loading the current page.
Public methodStatic memberStopFinding(IBrowser, Boolean)
Cancel all searches that are currently going on.
Public methodStatic memberStopFinding(IWebBrowser, Boolean)
Cancel all searches that are currently going on.
Public methodStatic memberThrowExceptionIfBrowserNotInitialized
Public methodStatic memberUndo
Execute Undo on the focused frame
Public methodStatic memberViewSource
Opens up a new program window (using the default text editor) where the source code of the currently displayed web page is shown.
Top
See Also