Skip to main content
A newer version of this page is available. .

Background Layer

A Background Layer is a visual element that defines the background of the digital gauge.

When you add a new background layer to the gauge, it is painted behind all other gauge elements because its BaseLeafPrimitive.ZOrder property is set to 1000 (the default setting). To bring this layer to the front of other gauge elements (or paint it above other layers, if there are any), set the ZOrder property to a lower value.

For example, the following picture illustrates a background layer that is overlapped by symbols of the FourteenSegment view type.

DigitalGauge_BackgroundLayer

A background layer is an instance of the DigitalBackgroundLayer class.

The table below lists the main properties that affect element behavior and appearance.

Characteristics Members
Appearance DigitalBackgroundLayer.ShapeType,BaseLeafPrimitive.Shader
Layout DigitalBackgroundLayer.BottomRight,DigitalBackgroundLayer.TopLeft,BaseLeafPrimitive.ZOrder