Click or drag to resize

EmulationClientSetDefaultBackgroundColorOverrideAsync Method

Version 112.3.0
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.Core (in CefSharp.Core.dll) Version: 112.3.0.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