background

Sets background; on a non-opaque component also set opaque to true for it to paint.

Parameters

color

the background color; null takes the color from the parent container. Which parts of a component the color reaches is up to that component and to the platform.

See also