Click or drag to resize

DOMClient.GetContainerForNodeAsync Method

Version 109.1.110
Returns the query container of the given node based on container query conditions: containerName, physical, and logical axes. If no axes are provided, the style container is returned, which is the direct parent or the closest element with a matching container-name.

Namespace:  CefSharp.DevTools.DOM
Assembly:  CefSharp (in CefSharp.dll) Version: 109.1.110.0 (109.1.110.0)
Syntax
public Task<GetContainerForNodeResponse> GetContainerForNodeAsync(
	int nodeId,
	string containerName = null,
	PhysicalAxes? physicalAxes = null,
	LogicalAxes? logicalAxes = null
)

Parameters

nodeId
Type: System.Int32
nodeId
containerName (Optional)
Type: System.String
containerName
physicalAxes (Optional)
Type: System.Nullable<PhysicalAxes>
physicalAxes
logicalAxes (Optional)
Type: System.Nullable<LogicalAxes>
logicalAxes

Return Value

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