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

ValueIndicatorBase Class

Serves as the base class for all value indicators.

Namespace: DevExpress.Xpf.Gauges

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Gauges, DevExpress.Wpf.Gauges

Declaration

public abstract class ValueIndicatorBase :
    GaugeDependencyObject,
    IOwnedElement,
    IWeakEventListener,
    IAnimatableElement,
    IModelSupported,
    ILayoutCalculator

The following members return ValueIndicatorBase objects:

Remarks

The ValueIndicatorBase class provides all functional capabilities common for value indicators derived from it: (e.g. ArcScaleNeedle returned by the ArcScale.Needles property, LinearScaleMarker returned by the LinearScale.Markers property, etc.).

Example

This example demonstrates how to enable the capability for end-users to change a needle’s value via a mouse click. To do this, set the ValueIndicatorBase.IsInteractive property to True as shown below.

Note that although in this example, only the ArcScaleNeedle class is used, the IsInteractive property is available in all ValueIndicatorBase class descendants, and therefore it is available in all value indicators.

View Example

<dxga:ArcScaleNeedle IsInteractive="True">
See Also