WebBrowserExtensionsShowDevTools Method (IBrowser, IWindowInfo, Int32, Int32) |
Version 101.0.180
Open developer tools in its own window.
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax public static void ShowDevTools(
this IBrowser cefBrowser,
IWindowInfo windowInfo = null,
int inspectElementAtX = 0,
int inspectElementAtY = 0
)
public:
[ExtensionAttribute]
static void ShowDevTools(
IBrowser^ cefBrowser,
IWindowInfo^ windowInfo = nullptr,
int inspectElementAtX = 0,
int inspectElementAtY = 0
)
Parameters
- cefBrowser
- Type: CefSharpIBrowser
The ChromiumWebBrowser instance this method extends. - windowInfo (Optional)
- Type: CefSharpIWindowInfo
(Optional) window info used for showing dev tools. - inspectElementAtX (Optional)
- Type: SystemInt32
(Optional) x coordinate (used for inspectElement) - inspectElementAtY (Optional)
- Type: SystemInt32
(Optional) y coordinate (used for inspectElement)
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IBrowser. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also