enum sap.ui.layout.BlockBackgroundType

Visiblity: public
Available since: N/A
Module: sap/ui/layout/library
Application Component: CA-UI5-CTR

A string type that is used inside the BlockLayout to set predefined background color to the cells inside the control.


Properties Overview

Node Description
sap.ui.layout.BlockBackgroundType.Accent

Background with pre-defined accent colors

sap.ui.layout.BlockBackgroundType.Dashboard

For applications that want to make use of e.g. charts in the Blocks, this layout type has spacings around the Blocks

sap.ui.layout.BlockBackgroundType.Default

Background is transparent

sap.ui.layout.BlockBackgroundType.Light

Background is with predefined light colors

sap.ui.layout.BlockBackgroundType.Mixed

Background with bright and dark background colors
Deprecated as of version 1.50