Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LinearGaugeLayer Class

A layer of a Linear Gauge.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v24.2.dll

NuGet Package: DevExpress.Wpf.Gauges

#Declaration

public class LinearGaugeLayer :
    GaugeLayerBase

#Remarks

A layer specifies the appearance of a linear gauge. It is represented by a LinearGaugeLayer instance contained in the LinearGaugeLayerCollection object, which can be accessed via the LinearGaugeControl.Layers property.

When a new layer is added to the linear gauge, it is painted behind all other elements, because by default, its LayerOptions.ZIndex is less than other elements. If you want to display the linear gauge layers in front of other scale elements, set their Zindex to a greater value.

The following image illustrates this layer’s appearance.

LInear Gauge Layer

See Also