EmulationClientSetFocusEmulationEnabledAsync Method |
Version 87.1.132
Enables or disables simulating a focused and active page.
Namespace:
CefSharp.DevTools.Emulation
Assembly:
CefSharp (in CefSharp.dll) Version: 87.1.132.0 (87.1.132.0)
Syntax public Task<DevToolsMethodResponse> SetFocusEmulationEnabledAsync(
bool enabled
)
public:
Task<DevToolsMethodResponse^>^ SetFocusEmulationEnabledAsync(
bool enabled
)
Parameters
- enabled
- Type: SystemBoolean
Whether to enable to disable focus emulation.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also