Click or drag to resize

OverlayClientSetInspectModeAsync Method

Version 87.1.132
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.Overlay
Assembly:  CefSharp (in CefSharp.dll) Version: 87.1.132.0 (87.1.132.0)
Syntax
public Task<DevToolsMethodResponse> SetInspectModeAsync(
	InspectMode mode,
	HighlightConfig highlightConfig = null
)

Parameters

mode
Type: CefSharp.DevTools.OverlayInspectMode
Set an inspection mode.
highlightConfig (Optional)
Type: CefSharp.DevTools.OverlayHighlightConfig
A descriptor for the highlight appearance of hovered-over nodes. May be omitted if `enabled== false`.

Return Value

Type: TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also