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

Background Layer

A Background Layer defines the background of the circular gauge.

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

For example, the following picture illustrates a background layer that is overlapped by the scale whose ZOrder is set to 0 by default.

CircularGauge_Background Layer

A Background Layer is represented by the ArcScaleBackgroundLayer class.

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

Characteristics Members
Appearance ArcScaleBackgroundLayer.ShapeType,BaseLeafPrimitive.Shader
Geometry ArcScaleBackgroundLayer.Size,BaseLeafPrimitive.ZOrder,ArcScaleBackgroundLayer.ScaleCenterPos