Back to Devexpress

LinearGaugeLayer Class

wpf-devexpress-dot-xpf-dot-gauges-4b8dc891.md

latest2.1 KB
Original Source

LinearGaugeLayer Class

A layer of a Linear Gauge.

Namespace : DevExpress.Xpf.Gauges

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

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public class LinearGaugeLayer :
    GaugeLayerBase
vb
Public Class LinearGaugeLayer
    Inherits 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.

Inheritance

Object DispatcherObject DependencyObject Freezable GaugeDependencyObject LayerBase GaugeLayerBase LinearGaugeLayer

See Also

LinearGaugeLayer Members

DevExpress.Xpf.Gauges Namespace