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
)
public:
Task<DevToolsMethodResponse^>^ SetDefaultBackgroundColorOverrideAsync(
RGBA^ color = nullptr
)
Parameters
- color (Optional)
- Type: CefSharp.DevTools.DOMRGBA
RGBA of the default background color. If not specified, any existing override will becleared.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also