Back to Devexpress

CircularGaugeLayerCollection Class

wpf-devexpress-dot-xpf-dot-gauges-80590f64.md

latest3.7 KB
Original Source

CircularGaugeLayerCollection Class

A collection that stores the layers of a particular circular gauge.

Namespace : DevExpress.Xpf.Gauges

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

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public class CircularGaugeLayerCollection :
    GaugeLayerCollection<CircularGaugeLayer>
vb
Public Class CircularGaugeLayerCollection
    Inherits GaugeLayerCollection(Of CircularGaugeLayer)

The following members return CircularGaugeLayerCollection objects:

Remarks

Each circular gauge can hold a collection of layers returned by the CircularGaugeControl.Layers property and represented by the CircularGaugeLayerCollection class. Each collection item is an instance of the CircularGaugeLayer class and can be accessed via the GaugeDependencyObjectCollectionBase<T>.Item property of a CircularGaugeLayerCollection object.

For more information on layers, refer to the Layers (Circular Scale) document.

Example

This example demonstrates how to specify a custom template for the layer.

View Example

xaml
<dxga:ArcScale.Layers>
    <dxga:ArcScaleLayer>
        <dxga:ArcScaleLayer.Presentation>
            <dxga:CustomArcScaleLayerPresentation 
                ScaleLayerTemplate="{StaticResource OscilloscopeScaleLayerTemplate}" />
        </dxga:ArcScaleLayer.Presentation>
    </dxga:ArcScaleLayer>
</dxga:ArcScale.Layers>

Inheritance

Object DispatcherObject DependencyObject Freezable Animatable FreezableCollection<CircularGaugeLayer> GaugeDependencyObjectCollectionBase<CircularGaugeLayer> GaugeDependencyObjectCollection<CircularGaugeLayer> GaugeLayerCollection<CircularGaugeLayer> CircularGaugeLayerCollection

See Also

CircularGaugeLayerCollection Members

Layers

DevExpress.Xpf.Gauges Namespace