WebBrowserExtensionsShowDevTools(IChromiumWebBrowserBase, IWindowInfo, Int32, Int32) Method |
Version 130.1.90
Open developer tools in its own window.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public static void ShowDevTools(
this IChromiumWebBrowserBase browser,
IWindowInfo windowInfo = null,
int inspectElementAtX = 0,
int inspectElementAtY = 0
)
public:
[ExtensionAttribute]
static void ShowDevTools(
IChromiumWebBrowserBase^ browser,
IWindowInfo^ windowInfo = nullptr,
int inspectElementAtX = 0,
int inspectElementAtY = 0
)
Parameters
- browser IChromiumWebBrowserBase
- The ChromiumWebBrowser instance this method extends.
- windowInfo IWindowInfo (Optional)
- (Optional) window info used for showing dev tools.
- inspectElementAtX Int32 (Optional)
- (Optional) x coordinate (used for inspectElement)
- inspectElementAtY Int32 (Optional)
- (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
IChromiumWebBrowserBase. 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