Back to Devexpress

ArcScaleNeedleCollection Class

wpf-devexpress-dot-xpf-dot-gauges-6d7bfd70.md

latest3.9 KB
Original Source

ArcScaleNeedleCollection Class

A collection that stores the needles 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 ArcScaleNeedleCollection :
    ArcScaleIndicatorCollection<ArcScaleNeedle>
vb
Public Class ArcScaleNeedleCollection
    Inherits ArcScaleIndicatorCollection(Of ArcScaleNeedle)

The following members return ArcScaleNeedleCollection objects:

Remarks

Each arc scale can hold a collection of needles returned by the ArcScale.Needles property and represented by the ArcScaleNeedleCollection class. Each collection item is an instance of the ArcScaleNeedle class and can be accessed via the GaugeDependencyObjectCollectionBase<T>.Item property of an ArcScaleNeedleCollection object.

For more information on needles, refer to the Needle (Circular Scale) document.

Example

The following example demonstrates how to customize the needle on a circular scale.

View Example

xaml
<dxga:ArcScale.Needles>
    <dxga:ArcScaleNeedle x:Name="needle" IsInteractive="True">
        <dxga:ArcScaleNeedle.Options>
            <dxga:ArcScaleNeedleOptions EndOffset="10" />
        </dxga:ArcScaleNeedle.Options>
        <dxga:ArcScaleNeedle.Presentation>
            <dxga:CustomArcScaleNeedlePresentation
                NeedleTemplate="{StaticResource OscilloscopeNeedleTemplate}" />
        </dxga:ArcScaleNeedle.Presentation>
    </dxga:ArcScaleNeedle>
</dxga:ArcScale.Needles>

Inheritance

Show 11 items

Object DispatcherObject DependencyObject Freezable Animatable FreezableCollection<ArcScaleNeedle> GaugeDependencyObjectCollectionBase<ArcScaleNeedle> GaugeDependencyObjectCollection<ArcScaleNeedle> ValueIndicatorCollection<ArcScaleNeedle> ArcScaleIndicatorCollection<ArcScaleNeedle> ArcScaleNeedleCollection

See Also

ArcScaleNeedleCollection Members

Needle

DevExpress.Xpf.Gauges Namespace