OverlayClientSetInspectModeAsync Method |
Version 130.1.90
Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted.
Backend then generates 'inspectNodeRequested' event upon element selection.
Namespace: CefSharp.DevTools.OverlayAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> SetInspectModeAsync(
InspectMode mode,
HighlightConfig highlightConfig = null
)
public:
Task<DevToolsMethodResponse^>^ SetInspectModeAsync(
InspectMode mode,
HighlightConfig^ highlightConfig = nullptr
)
Parameters
- mode InspectMode
- Set an inspection mode.
- highlightConfig HighlightConfig (Optional)
- A descriptor for the highlight appearance of hovered-over nodes. May be omitted if `enabled== false`.
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also