Click or drag to resize

EmulationClientSetFocusEmulationEnabledAsync Method

Version 96.0.142
Enables or disables simulating a focused and active page.

Namespace:  CefSharp.DevTools.Emulation
Assembly:  CefSharp (in CefSharp.dll) Version: 96.0.142.0 (96.0.142.0)
Syntax
public Task<DevToolsMethodResponse> SetFocusEmulationEnabledAsync(
	bool enabled
)

Parameters

enabled
Type: SystemBoolean
Whether to enable to disable focus emulation.

Return Value

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