Click or drag to resize

OverlayClient.HighlightSourceOrderAsync Method

Version 92.0.260
Highlights the source order of the children of the DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.

Namespace:  CefSharp.DevTools.Overlay
Assembly:  CefSharp (in CefSharp.dll) Version: 92.0.260.0 (92.0.260.0)
Syntax
public Task<DevToolsMethodResponse> HighlightSourceOrderAsync(
	SourceOrderConfig sourceOrderConfig,
	int? nodeId = null,
	int? backendNodeId = null,
	string objectId = null
)

Parameters

sourceOrderConfig
Type: CefSharp.DevTools.Overlay.SourceOrderConfig
A descriptor for the appearance of the overlay drawing.
nodeId (Optional)
Type: System.Nullable<Int32>
Identifier of the node to highlight.
backendNodeId (Optional)
Type: System.Nullable<Int32>
Identifier of the backend node to highlight.
objectId (Optional)
Type: System.String
JavaScript object id of the node to be highlighted.

Return Value

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