Skip to main content

Layers

A Layer is an element that contains different objects (e.g., images) to define the visual presentation of a gauge and its elements.

Layers can be added at two levels:

For example, the following picture illustrates two layers - one is added to the CircularGauge and therefore occupies the entire Gauge control area, and the other is added to the ArcScale object.

CircularGauge_Layer

Every new layer is painted behind all other gauge elements because its GaugeOptionsBase.ZIndex property is set to -100 by default. To bring this layer to the front of other gauge elements (or paint it above other layers, if there are any), set the ZIndex property to a greater value.