Helper extensions for performing common CefSharp related WinForms tasks
Inheritance Hierarchy Namespace: CefSharp.WinFormsCefSharp.WinForms (in CefSharp.WinForms.dll) Version: 118.6.80.0 (118.6.80.0)
Syntaxpublic static class WebBrowserExtensions
[ExtensionAttribute] public ref class WebBrowserExtensions abstract sealed
The WebBrowserExtensions type exposes the following members.
Methods Name Description DestroyWindowManually 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.
ShowDevToolsDocked(IChromiumWebBrowserBase, ActionChromiumHostControl, String, DockStyle, Int32, Int32)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
LifeSpanHandlerimplementation. (Set
LifeSpanHandlerto an instance of
LifeSpanHandler)
ShowDevToolsDocked(IChromiumWebBrowserBase, Control, String, DockStyle, Int32, Int32)Open DevTools using
parentControlas 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
LifeSpanHandlerimplementation. (Set
LifeSpanHandlerto an instance of
LifeSpanHandler)
Top See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4