Back to Devexpress

ArcScaleLayerCollection Class

wpf-devexpress-dot-xpf-dot-gauges-efcdc694.md

latest3.5 KB
Original Source

ArcScaleLayerCollection Class

A collection that stores the layers of a particular arc scale.

Namespace : DevExpress.Xpf.Gauges

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

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public class ArcScaleLayerCollection :
    LayerCollection<ArcScaleLayer>
vb
Public Class ArcScaleLayerCollection
    Inherits LayerCollection(Of ArcScaleLayer)

The following members return ArcScaleLayerCollection objects:

Remarks

Each arc scale can hold a collection of layers returned by the ArcScale.Layers property and represented by the ArcScaleLayerCollection class. Each collection item is an instance of the ArcScaleLayer class and can be accessed via the GaugeDependencyObjectCollectionBase<T>.Item property of an ArcScaleLayerCollection 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<ArcScaleLayer> GaugeDependencyObjectCollectionBase<ArcScaleLayer> GaugeDependencyObjectCollection<ArcScaleLayer> LayerCollection<ArcScaleLayer> ArcScaleLayerCollection

See Also

ArcScaleLayerCollection Members

Layers

DevExpress.Xpf.Gauges Namespace