Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Style - NormBackColor Property

Panel
bgColor#2c3c4c

RGB color value or a LANSA specified color name applied to the background

Member of Style (PRIM_VS.Style)

Data Type - Color

Details

The NormBackColor is the color to be applied to the background of the control.

Background features of a Style are not inherited by child controls. This ensures that a background applied to a parent is not repeated verbatim on child controls.

As Panels and Labels are transparent by default, it is often only necessary to define the background of the main page.

If both a NormBackColor and BackgroundBrush are specified on the same style, the BackgroundBrush will take precedence.

Theme Color Names

Theme color names represent a set of predefined complementary shades. There are many predefined Themes.

Allowed Values

Description

Enum Values

Colors

Theme50, Theme100, Theme200, Theme300, Theme400, Theme500, Theme600, Theme700, Theme800, Theme900, ThemeDisabled, ThemeInactive

Accent Colors

ThemeA100, ThemeA200, Theme400, ThemeA700

Allowed Colors

Enum Value

Sample

Description

Aqua

Panel
 
bgColor#00FFFF


RGB - 0:255:255

Black

Panel
bgColor
 
#000000


RGB - 0:0:0

Blue

 
Panel
bgColor#0000FF


RGB - 0:0:255

Brown

Panel
 
bgColor#804000


RGB - 128:64:0

Gray

Panel
bgColor
 
#808080


RGB - 128:128:128

Green

 
Panel
bgColor#008000


RGB - 0:128:0

Fuchsia

 
Panel
bgColor#FF00FF


RGB - 255:0:255

Lime

Panel
 
bgColor#00FF00


RGB - 0:255:0

Maroon

Panel
bgColor
 
#800000


RGB - 128:0:0

Navy

Panel
bgColor
 
#000080


RGB - 0:0:128

Olive

 
Panel
bgColor#808000


RGB - 128:128:0

Purple

 
Panel
bgColor#800080


RGB - 128:0:128

Red

Panel
bgColor
 
#FF0000


RGB - 255:0:0

Silver

 
Panel
bgColor#C0C0C0


RGB - 192:192:192

Teal

Panel
bgColor
 
#008080


RGB - 0:128:128

Transparent

 



White

 
Panel
White
bgColor
 
#FFFFFF


RGB - 255:255:255

Yellow

 
Panel
bgColor#FFFF00


RGB - 255:255:0

RGB Colors

...

...

RGB

...

colors

...

should

...

be

...

entered

...

in

...

the

...

format

...

[0-255

...

]:

...

[0-255

...

]:

...

[0-255

...

]


See also

All Component Classes

Technical Reference