IWpfWebBrowser Interface |
Namespace: CefSharp.Wpf
The IWpfWebBrowser type exposes the following members.
Name | Description | |
---|---|---|
Address |
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 IChromiumWebBrowserBase.) | |
AudioHandler |
Implement IAudioHandler to handle audio events.
(Inherited from IWebBrowser.) | |
BackCommand |
Navigates to the previous page in the browser history. Will automatically be enabled/disabled depending on the
browser state.
| |
BrowserCore |
Returns the current IBrowser Instance or null.
IBrowser is the the underlying CefBrowser
instance and provides access to frames/browserhost etc.
(Inherited from IChromiumWebBrowserBase.) | |
CanExecuteJavascriptInMainFrame |
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.) | |
CanGoBack |
A flag that indicates whether the state of the control current supports the GoBack action (true) or not (false).
(Inherited from IChromiumWebBrowserBase.) | |
CanGoForward |
A flag that indicates whether the state of the control currently supports the GoForward action (true) or not (false).
(Inherited from IChromiumWebBrowserBase.) | |
CleanupCommand |
Command which cleans up the Resources used by the ChromiumWebBrowser
| |
CopyCommand |
Copy selected text to the clipboard.
| |
CutCommand |
Cut selected text to the clipboard.
| |
DialogHandler |
Implement IDialogHandler and assign to handle dialog events.
(Inherited from IWebBrowser.) | |
Dispatcher |
Gets the Dispatcher associated with this instance.
| |
DisplayHandler |
Implement IDisplayHandler and assign to handle events related to browser display state.
(Inherited from IWebBrowser.) | |
DownloadHandler |
Implement IDownloadHandler and assign to handle events related to downloading files.
(Inherited from IWebBrowser.) | |
DragHandler |
Implement IDragHandler and assign to handle events related to dragging.
(Inherited from IWebBrowser.) | |
FindHandler |
Implement IFindHandler to handle events related to find results.
(Inherited from IWebBrowser.) | |
Focusable | Gets or sets a value that indicates whether focus can be set to this element. (Inherited from IInputElement.) | |
FocusHandler |
Implement IFocusHandler and assign to handle events related to the browser component's focus
(Inherited from IWebBrowser.) | |
ForwardCommand |
Navigates to the next page in the browser history. Will automatically be enabled/disabled depending on the
browser state.
| |
FrameHandler |
Implement IFrameHandler to handle frame events.
(Inherited from IWebBrowser.) | |
IsBrowserInitialized |
A flag that indicates whether the WebBrowser is initialized (true) or not (false).
(Inherited from IChromiumWebBrowserBase.) | |
IsDisposed |
A flag that indicates whether the WebBrowser has been disposed () or not ()
(Inherited from IChromiumWebBrowserBase.) | |
IsEnabled | Gets a value that indicates whether this element is enabled in the user interface (UI). (Inherited from IInputElement.) | |
IsKeyboardFocused | Gets a value that indicates whether this element has keyboard focus. (Inherited from IInputElement.) | |
IsKeyboardFocusWithin | 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.) | |
IsLoading |
A flag that indicates whether the control is currently loading one or more web pages (true) or not (false).
(Inherited from IChromiumWebBrowserBase.) | |
IsMouseCaptured | Gets a value that indicates whether the mouse is captured to this element. (Inherited from IInputElement.) | |
IsMouseDirectlyOver | Gets a value that indicates whether the mouse pointer is over this element in the strictest hit testing sense. (Inherited from IInputElement.) | |
IsMouseOver | 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.) | |
IsStylusCaptured | Gets a value that indicates whether the stylus is captured to this element. (Inherited from IInputElement.) | |
IsStylusDirectlyOver | Gets a value that indicates whether the stylus is over this element in the strictest hit testing sense. (Inherited from IInputElement.) | |
IsStylusOver | 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.) | |
JavascriptObjectRepository |
The javascript object repository, one repository per ChromiumWebBrowser instance.
(Inherited from IWebBrowser.) | |
JsDialogHandler |
Implement IJsDialogHandler and assign to handle events related to JavaScript Dialogs.
(Inherited from IWebBrowser.) | |
KeyboardHandler |
Implement IKeyboardHandler and assign to handle events related to key press.
(Inherited from IWebBrowser.) | |
LifeSpanHandler |
Implement ILifeSpanHandler and assign to handle events related to popups.
(Inherited from IWebBrowser.) | |
LoadHandler |
Implement ILoadHandler and assign to handle events related to browser load status.
(Inherited from IWebBrowser.) | |
MenuHandler |
Implement IContextMenuHandler and assign to handle events related to the browser context menu
(Inherited from IWebBrowser.) | |
PasteCommand |
Paste text from the clipboard.
| |
PrintCommand |
Prints the current browser contents.
| |
RedoCommand |
Redo last action.
| |
ReloadCommand |
Reloads the content of the current page. Will automatically be enabled/disabled depending on the browser state.
| |
RenderProcessMessageHandler |
Implement IRenderProcessMessageHandler and assign to handle messages from the render process.
(Inherited from IWebBrowser.) | |
RequestContext |
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.) | |
RequestHandler |
Implement IRequestHandler and assign to handle events related to browser requests.
(Inherited from IWebBrowser.) | |
ResourceRequestHandlerFactory |
Implement IResourceRequestHandlerFactory and control the loading of resources
(Inherited from IWebBrowser.) | |
SelectAllCommand |
Select all text.
| |
StopCommand |
Stops loading the current page.
| |
Title |
The title of the web page being currently displayed.
| |
TooltipText |
The text that will be displayed as a ToolTip
(Inherited from IWebBrowser.) | |
UndoCommand |
Undo last action.
| |
ViewSourceCommand |
Opens up a new program window (using the default text editor) where the source code of the currently displayed web
page is shown.
| |
ZoomInCommand |
Increases the zoom level.
| |
ZoomLevel |
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).
| |
ZoomLevelIncrement |
The increment at which the ZoomLevel property will be incremented/decremented.
| |
ZoomOutCommand |
Decreases the zoom level.
| |
ZoomResetCommand |
Resets the zoom level to the default. (100%)
|
Name | Description | |
---|---|---|
AddHandler | Adds a routed event handler for a specific routed event to an element. (Inherited from IInputElement.) | |
CaptureMouse | Attempts to force capture of the mouse to this element. (Inherited from IInputElement.) | |
CaptureStylus | Attempts to force capture of the stylus to this element. (Inherited from IInputElement.) | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
Focus |
Attempts to give focus to the IWebBrowser control.
(Inherited from IChromiumWebBrowserBase.) | |
GetBrowser |
Returns the current CEF Browser Instance
(Inherited from IWebBrowser.) | |
GetContentSizeAsync |
Size of scrollable area in CSS pixels
(Inherited from IWebBrowser.) | |
Load |
Loads the specified url in the Main Frame.
If [!:IsDisposed] is true then the method call will be ignored.
Same as calling [!:LoadUrl(string)] (Inherited from IWebBrowser.) | |
LoadUrl |
Loads the specified url in the Main Frame.
Same as calling [!:Load(string)] (Inherited from IChromiumWebBrowserBase.) | |
LoadUrlAsync |
Load the url in the main frame of the browser
(Inherited from IChromiumWebBrowserBase.) | |
RaiseEvent | Raises the routed event that is specified by the RoutedEvent property within the provided RoutedEventArgs. (Inherited from IInputElement.) | |
ReleaseMouseCapture | Releases the mouse capture, if this element holds the capture. (Inherited from IInputElement.) | |
ReleaseStylusCapture | Releases the stylus capture, if this element holds the capture. (Inherited from IInputElement.) | |
RemoveHandler | Removes all instances of the specified routed event handler from this element. (Inherited from IInputElement.) | |
TryGetBrowserCoreById |
Try and get a reference to the IBrowser instance that matches the browserId.
Primarily used for geting a reference to the IBrowser used by popups.
(Inherited from IWebBrowser.) | |
WaitForInitialLoadAsync |
Wait for the Browser to finish loading the initial web page.
(Inherited from IWebBrowser.) | |
WaitForNavigationAsync |
This resolves when the browser navigates to a new URL or reloads.
It is useful for when you run code which will indirectly cause the browser to navigate.
A common use case would be when executing javascript that results in a navigation. e.g. clicks a link
This must be called before executing the action that navigates the browser. It may not resolve correctly
if called after.
(Inherited from IChromiumWebBrowserBase.) |
Name | Description | |
---|---|---|
ConsoleMessage |
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 IChromiumWebBrowserBase.) | |
FrameLoadEnd |
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 IChromiumWebBrowserBase.) | |
FrameLoadStart |
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 IChromiumWebBrowserBase.) | |
GotKeyboardFocus | Occurs when the keyboard is focused on this element. (Inherited from IInputElement.) | |
GotMouseCapture | Occurs when the element captures the mouse. (Inherited from IInputElement.) | |
GotStylusCapture | Occurs when the element captures the stylus. (Inherited from IInputElement.) | |
JavascriptMessageReceived |
Event handler that will get called when the message that originates from CefSharp.PostMessage
(Inherited from IWebBrowser.) | |
KeyDown | Occurs when a key is pressed while the keyboard is focused on this element. (Inherited from IInputElement.) | |
KeyUp | Occurs when a key is released while the keyboard is focused on this element. (Inherited from IInputElement.) | |
LoadError |
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 IChromiumWebBrowserBase.) | |
LoadingStateChanged |
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 IChromiumWebBrowserBase.) | |
LostKeyboardFocus | Occurs when the keyboard is no longer focused on this element. (Inherited from IInputElement.) | |
LostMouseCapture | Occurs when this element loses mouse capture. (Inherited from IInputElement.) | |
LostStylusCapture | Occurs when this element loses stylus capture. (Inherited from IInputElement.) | |
MouseEnter | Occurs when the mouse pointer enters the bounds of this element. (Inherited from IInputElement.) | |
MouseLeave | Occurs when the mouse pointer leaves the bounds of this element. (Inherited from IInputElement.) | |
MouseLeftButtonDown | Occurs when the left mouse button is pressed while the mouse pointer is over the element. (Inherited from IInputElement.) | |
MouseLeftButtonUp | Occurs when the left mouse button is released while the mouse pointer is over the element. (Inherited from IInputElement.) | |
MouseMove | Occurs when the mouse pointer moves while the mouse pointer is over the element. (Inherited from IInputElement.) | |
MouseRightButtonDown | Occurs when the right mouse button is pressed while the mouse pointer is over the element. (Inherited from IInputElement.) | |
MouseRightButtonUp | Occurs when the right mouse button is released while the mouse pointer is over the element. (Inherited from IInputElement.) | |
MouseWheel | Occurs when the mouse wheel moves while the mouse pointer is over this element. (Inherited from IInputElement.) | |
Paint |
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
| |
PreviewGotKeyboardFocus | Occurs when the keyboard is focused on this element. (Inherited from IInputElement.) | |
PreviewKeyDown | Occurs when a key is pressed while the keyboard is focused on this element. (Inherited from IInputElement.) | |
PreviewKeyUp | Occurs when a key is released while the keyboard is focused on this element. (Inherited from IInputElement.) | |
PreviewLostKeyboardFocus | Occurs when the keyboard is no longer focused on this element. (Inherited from IInputElement.) | |
PreviewMouseLeftButtonDown | Occurs when the left mouse button is pressed while the mouse pointer is over the element. (Inherited from IInputElement.) | |
PreviewMouseLeftButtonUp | Occurs when the left mouse button is released while the mouse pointer is over the element. (Inherited from IInputElement.) | |
PreviewMouseMove | Occurs when the mouse pointer moves while the mouse pointer is over the element. (Inherited from IInputElement.) | |
PreviewMouseRightButtonDown | Occurs when the right mouse button is pressed while the mouse pointer is over the element. (Inherited from IInputElement.) | |
PreviewMouseRightButtonUp | Occurs when the right mouse button is released while the mouse pointer is over the element. (Inherited from IInputElement.) | |
PreviewMouseWheel | Occurs when the mouse wheel moves while the mouse pointer is over this element. (Inherited from IInputElement.) | |
PreviewStylusButtonDown | Occurs when the stylus button is pressed down while the stylus is over this element. (Inherited from IInputElement.) | |
PreviewStylusButtonUp | Occurs when the stylus button is released while the stylus is over this element. (Inherited from IInputElement.) | |
PreviewStylusDown | Occurs when the stylus touches the digitizer while over this element. (Inherited from IInputElement.) | |
PreviewStylusInAirMove | Occurs when the stylus moves over an element, but without touching the digitizer. (Inherited from IInputElement.) | |
PreviewStylusInRange | Occurs when the stylus is close enough to the digitizer to be detected. (Inherited from IInputElement.) | |
PreviewStylusMove | Occurs when the stylus moves while the stylus is over the element. (Inherited from IInputElement.) | |
PreviewStylusOutOfRange | Occurs when the stylus is too far from the digitizer to be detected. (Inherited from IInputElement.) | |
PreviewStylusSystemGesture | (Inherited from IInputElement.) | |
PreviewStylusUp | Occurs when the stylus is raised off the digitizer while over this element. (Inherited from IInputElement.) | |
PreviewTextInput | Occurs when this element gets text in a device-independent manner. (Inherited from IInputElement.) | |
StatusMessage |
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 IChromiumWebBrowserBase.) | |
StylusButtonDown | Occurs when the stylus button is pressed while the stylus is over this element. (Inherited from IInputElement.) | |
StylusButtonUp | Occurs when the stylus button is released while the stylus is over this element. (Inherited from IInputElement.) | |
StylusDown | Occurs when the stylus touches the digitizer while over this element. (Inherited from IInputElement.) | |
StylusEnter | Occurs when the stylus cursor enters the bounds of the element. (Inherited from IInputElement.) | |
StylusInAirMove | Occurs when the stylus moves over an element, but without touching the digitizer. (Inherited from IInputElement.) | |
StylusInRange | Occurs when the stylus is close enough to the digitizer to be detected. (Inherited from IInputElement.) | |
StylusLeave | Occurs when the stylus cursor leaves the bounds of the element. (Inherited from IInputElement.) | |
StylusMove | Occurs when the stylus cursor moves over the element. (Inherited from IInputElement.) | |
StylusOutOfRange | Occurs when the stylus is too far from the digitizer to be detected. (Inherited from IInputElement.) | |
StylusSystemGesture | (Inherited from IInputElement.) | |
StylusUp | Occurs when the stylus is raised off the digitizer while over this element. (Inherited from IInputElement.) | |
TextInput | Occurs when this element gets text in a device-independent manner. (Inherited from IInputElement.) | |
VirtualKeyboardRequested |
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
|
Name | Description | |
---|---|---|
AddWordToDictionary |
Add the specified word to the spelling dictionary.
(Defined by WebBrowserExtensions.) | |
Back |
Navigates back, must check CanGoBack before calling this method.
(Defined by WebBrowserExtensions.) | |
CloseDevTools |
Explicitly close the developer tools window if one exists for this browser instance.
(Defined by WebBrowserExtensions.) | |
Copy |
Execute Copy on the focused frame.
(Defined by WebBrowserExtensions.) | |
Cut |
Execute Cut on the focused frame.
(Defined by WebBrowserExtensions.) | |
Delete |
Execute Delete on the focused frame.
(Defined by WebBrowserExtensions.) | |
DestroyWindow |
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.) | |
EnsureObjectBoundAsync |
Make sure an object is bound in javascript. Executes against the main frame
(Defined by JavascriptBindingExtensions.) | |
EvaluateScriptAsPromiseAsync |
Evaluate Javascript 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.) | |
EvaluateScriptAsync(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.) | |
EvaluateScriptAsync(String, NullableTimeSpan, Boolean) | Overloaded.
Evaluate Javascript in the context of this Browsers Main Frame. The script will be executed
asynchronously and the method returns a Task encapsulating the response from the Javascript
(Defined by WebBrowserExtensions.) | |
EvaluateScriptAsync(NullableTimeSpan, String, Object) | Overloaded.
Evaluate 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.) | |
ExecuteDevToolsMethodAsync |
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.) | |
ExecuteScriptAsync(String) | Overloaded.
Execute Javascript in the context of this Browsers Main Frame. 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.) | |
ExecuteScriptAsync(String, Object) | Overloaded.
Execute Javascript code in the context of this Browser. 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.) | |
ExecuteScriptAsyncWhenPageLoaded |
Execute Javascript code in the context of this Browsers Main Frame. 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.) | |
Find |
Search for text within the current page.
(Defined by WebBrowserExtensions.) | |
Forward |
Navigates forward, must check CanGoForward before calling this method.
(Defined by WebBrowserExtensions.) | |
GetBrowserHost |
Shortcut method to get the browser IBrowserHost.
(Defined by WebBrowserExtensions.) | |
GetCookieManager |
Gets the default cookie manager associated with the IChromiumWebBrowserBase instance.
(Defined by WebBrowserExtensions.) | |
GetDevToolsClient |
Gets a new Instance of the DevTools client for the chromiumWebBrowser
instance.
(Defined by DevToolsExtensions.) | |
GetFocusedFrame |
Returns the focused frame for the browser window.
(Defined by WebBrowserExtensions.) | |
GetMainFrame |
Returns the main (top-level) frame for the browser window.
(Defined by WebBrowserExtensions.) | |
GetRequestContext |
Gets the RequestContext associated with the IChromiumWebBrowserBase instance.
(Defined by WebBrowserExtensions.) | |
GetSourceAsync |
Retrieve the main frame's HTML source using a TaskTResult.
(Defined by WebBrowserExtensions.) | |
GetTextAsync |
Retrieve the main frame's display text using a TaskTResult.
(Defined by WebBrowserExtensions.) | |
GetVisibleNavigationEntryAsync | (Defined by WebBrowserExtensionsEx.) | |
GetZoomLevelAsync |
Asynchronously gets the current Zoom Level.
(Defined by WebBrowserExtensions.) | |
LoadHtml(String, String) | Overloaded.
Registers and loads a ResourceHandler that represents the HTML content.
(Defined by WebBrowserExtensions.) | |
LoadHtml(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.) | |
LoadHtml(String, String, Encoding, Boolean) | Overloaded.
Registers and loads a ResourceHandler that represents the HTML content.
(Defined by WebBrowserExtensions.) | |
LoadUrlWithPostData |
Creates a new instance of IRequest with the specified Url and Method = POST and then calls
LoadRequest(IRequest).
(Defined by WebBrowserExtensions.) | |
Paste |
Execute Paste on the focused frame.
(Defined by WebBrowserExtensions.) | |
Opens a Print Dialog which if used (can be user cancelled) will print the browser contents.
(Defined by WebBrowserExtensions.) | ||
PrintToPdfAsync |
Asynchronously prints the current browser contents to the PDF file specified. The caller is responsible for deleting the file
when done.
(Defined by WebBrowserExtensions.) | |
Redo |
Execute Redo on the focused frame.
(Defined by WebBrowserExtensions.) | |
RegisterAsyncJsObject | Asynchronously registers a Javascript object in this specific browser instance. Only methods of the object will be availabe. | |
RegisterJsObject |
Registers a Javascript object in this specific browser instance.
(Defined by WebBrowserExtensions.) | |
RegisterResourceHandler |
Register a ResourceHandler. Can only be used when browser.ResourceHandlerFactory is an instance of
DefaultResourceHandlerFactory.
(Defined by WebBrowserExtensions.) | |
Reload | Overloaded.
Reloads the page being displayed. This method will use data from the browser's cache, if available.
(Defined by WebBrowserExtensions.) | |
Reload(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.) | |
ReplaceMisspelling |
If a misspelled word is currently selected in an editable node calling this method will replace it with the specified word.
(Defined by WebBrowserExtensions.) | |
SelectAll |
Execute SelectAll on the focused frame.
(Defined by WebBrowserExtensions.) | |
SendMouseWheelEvent |
Send a mouse wheel event to the browser.
(Defined by WebBrowserExtensions.) | |
SetAsPopup |
An IWebBrowser extension method that sets the HasParent
property used when passing a ChromiumWebBrowser instance to OnBeforePopup(IWebBrowser, IBrowser, IFrame, String, String, WindowOpenDisposition, Boolean, IPopupFeatures, IWindowInfo, IBrowserSettings, Boolean, IWebBrowser) (Defined by WebBrowserExtensions.) | |
SetMainFrameDocumentContentAsync |
Set the Document Content for the Main Frame using DevTools Protocol.
(Defined by DevToolsExtensions.) | |
SetZoomLevel |
Change the ZoomLevel to the specified value. Can be set to 0.0 to clear the zoom level.
(Defined by WebBrowserExtensions.) | |
ShowDevTools |
Open developer tools in its own window.
(Defined by WebBrowserExtensions.) | |
ShowDevToolsDocked(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.) | |
ShowDevToolsDocked(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.) | |
StartDownload |
Download the file at url using IDownloadHandler.
(Defined by WebBrowserExtensions.) | |
Stop |
Stops loading the current page.
(Defined by WebBrowserExtensions.) | |
StopFinding |
Cancel all searches that are currently going on.
(Defined by WebBrowserExtensions.) | |
Undo |
Execute Undo on the focused frame.
(Defined by WebBrowserExtensions.) | |
UnRegisterResourceHandler |
Unregister a ResourceHandler. Can only be used when browser.ResourceHandlerFactory is an instance of
DefaultResourceHandlerFactory.
(Defined by WebBrowserExtensions.) | |
ViewSource |
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.) | |
WaitForSelectorAsync |
Waits for a DOM element specified by the selector string to be added to or removed from the DOM.
A simplified version of Puppeteer WaitForSelector. Uses a MutationObserver to wait for the element to become added or removed.
(Defined by WebBrowserExtensions.) |