Click or drag to resize

EmulationClientSetDefaultBackgroundColorOverrideAsync Method

Version 101.0.180
Sets or clears an override of the default background color of the frame. This override is used if the content does not specify one.

Namespace:  CefSharp.DevTools.Emulation
Assembly:  CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax
public Task<DevToolsMethodResponse> SetDefaultBackgroundColorOverrideAsync(
	RGBA color = null
)

Parameters

color (Optional)
Type: CefSharp.DevTools.DOMRGBA
RGBA of the default background color. If not specified, any existing override will becleared.

Return Value

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