Skip to main content
.NETFramework4.6.2net8.0-windows

Target Platform/Framework: Desktop DevExpress Product Libraries Used: WPF UI components (https://www.devexpress.com/wpf) Available in the following DevExpress Subscription(s): Universal, DXperience, WPF

Published
Jan 1, 1900
128y ago
Total Downloads
120.1K
120,067

Install

dotnet add package DevExpress.Wpf.Gauges --version 26.1.5-pre-26248
ProductVersions
.NET
net8.0-windows
Other
.NETFramework4.6.2

README

DevExpress WPF: Gauge Controls

DevExpress.Wpf.Gauges includes DevExpress WPF Gauge controls: circular, linear, and digital gauges, plus a state indicator. Gauges can bind to view model properties, animate value changes, and adapt to the active DevExpress theme so your instrument panel matches the rest of your application.

dotnet add package DevExpress.Wpf.Gauges

Included Components

  • CircularGaugeControl — a round gauge with arc scales, needles, markers, and colored ranges.
  • LinearGaugeControl — a horizontal or vertical gauge with linear scales, level bars, and range bars.
  • DigitalGaugeControl — a segmented display that renders text and numbers in seven-segment, fourteen-segment, and matrix symbol views.
  • StateIndicatorControl — an indicator that displays the current state as a predefined image.

Examples

Example 1: Display a Circular Gauge

<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:dxga="http://schemas.devexpress.com/winfx/2008/xaml/gauges">

    <dxga:CircularGaugeControl>
        <!-- StartAngle and EndAngle define the arc the scale occupies. -->
        <dxga:ArcScale StartValue="0" EndValue="240" StartAngle="-225" EndAngle="45"
                       MajorIntervalCount="12">
            <dxga:ArcScale.Layers>
                <dxga:ArcScaleLayer />
            </dxga:ArcScale.Layers>
            <dxga:ArcScale.Ranges>
                <!-- Range bounds accept percentages of the scale range. -->
                <dxga:ArcScaleRange StartValue="80%" EndValue="100%" />
            </dxga:ArcScale.Ranges>
            <dxga:ArcScale.Needles>
                <dxga:ArcScaleNeedle Value="{Binding Speed}" />
            </dxga:ArcScale.Needles>
        </dxga:ArcScale>
    </dxga:CircularGaugeControl>
</Window>

In this configuration, the gauge control behaves as follows:

  • Displays a scale from 0 to 240
  • Highlights the top fifth of the scale
  • Moves the needle when the Speed property changes

Example 2: Use a Linear Gauge to Track Progress

<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:dxga="http://schemas.devexpress.com/winfx/2008/xaml/gauges">

    <dxga:LinearGaugeControl EnableAnimation="True">
        <dxga:LinearScale StartValue="0" EndValue="100" MajorIntervalCount="10">
            <dxga:LinearScale.LevelBars>
                <!-- The level bar fills the scale up to the bound value. -->
                <dxga:LinearScaleLevelBar Value="{Binding CompletedPercentage}" />
            </dxga:LinearScale.LevelBars>
        </dxga:LinearScale>
    </dxga:LinearGaugeControl>
</Window>

The level bar grows and shrinks with the CompletedPercentage value. The control animates transitions.

Evaluation Period, Pricing Options, and Licensing Terms

Whether you own a license or want to start a 30-day evaluation period, download and register your DevExpress license key. To obtain your key, log in to the DevExpress Download Manager. Use your existing DevExpress.com account or create a new account for free. For key registration instructions, see License Key for DevExpress Products.

If you purchase a license after evaluating a product, re-register your updated DevExpress license key to remove evaluation version warnings/messages.

This package is included in the following commercial subscriptions:

See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.

Related Components/Packages

DevExpress.Wpf.Charts - DevExpress WPF Chart, Sankey Diagram, and Heatmap controls.

dotnet add package DevExpress.Wpf.Charts

DevExpress.Wpf - The complete DevExpress WPF Control suite.

dotnet add package DevExpress.Wpf

Demos

NOTE: Demo links below only work if you already have DevExpress WPF Demos installed on your machine. To install demos, download and run the DevExpress Unified Installer (evaluation or licensed version). Remember to select "Demo Applications" on the product selection screen.

Documentation

Software Bill of Materials (SBOM)

To access SBOM files for DevExpress packages, please refer to the following article: Software Bill of Materials (SBOM) for DevExpress .NET assemblies/NuGet packages, JavaScript, VCL and other redistributable artifacts.

See Also: Information Security | Security - What You Need to Know

Useful Online Resources

Changes from Previous Version

No structural changes between v26.1.6-pre-26277 and v26.1.5-pre-26248.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.This version is unlisted. Prefer a listed release unless you deliberately need this exact version for reproducibility.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.