Click or drag to resize

EmulationClientSetDefaultBackgroundColorOverrideAsync Method

Version 103.0.120
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: 103.0.120.0 (103.0.120.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