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

LinearScaleLayer Class

A layer that contains properties to define the visual presentation of a linear scale.

Namespace: DevExpress.WinUI.Gauges

Assembly: DevExpress.WinUI.Gauges.v22.1.dll

NuGet Package: DevExpress.WinUI

Declaration

public class LinearScaleLayer :
    ScaleLayerBase

Remarks

A layer specifies the appearance of the linear scale’s elements. It is represented by LinearScaleLayer object contained in the LinearScaleLayerCollection object, which can be accessed via the LinearScale.Layers property.

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

Example: How to: Use LinearScale

See Also