Click or drag to resize

EmulationClientSetDefaultBackgroundColorOverrideAsync Method

Version 94.4.20
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: 94.4.20.0 (94.4.20.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