Skip to main content

DigitalGaugeControl Class

A digital gauge control shipped with the DXGauge Suite.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v24.1.dll

NuGet Package: DevExpress.Wpf.Gauges


public class DigitalGaugeControl :


The DigitalGaugeControl class is a visual gauge control that can display text or numbers much like a LED device.

The following images show some examples of a digital gauge.

7 segments view type Matrix 5x8 view type
Time_seven_segments CurrentTime_Matrix5x8

A gauge control is comprised of separate elements, such as symbols panel, symbols, segments, matrix cells, etc. To learn more about them, refer to the Visual Elements (Digital Gauge) section.


This example demonstrates how to create a DigitalGaugeControl instance and customize its settings.

View Example

<Window x:Class="Digital_Gauge.MainWindow"
        Title="MainWindow" Height="350" Width="525">
        <dxga:DigitalGaugeControl Name="digitalGaugeControl1"
                                  Text="Hello everyone!!!" 
                                  Height="150" Padding="7">
            <!--region #Layers-->
            <!--endregion #Layers-->
            <!--region #Model-->
                <dxga:DigitalFutureModel />
            <!--endregion #Model-->
                    <!--region #MatrixOptions-->
                        <dxga:SymbolOptions SkewAngleX="5" SkewAngleY="5" />
                    <!--endregion #MatrixOptions-->
                    <!--region #MatrixAnimation-->
                        <dxga:CreepingLineAnimation RefreshTime="00:00:00.2000000"
                                                    Repeat="True" />
                    <!--endregion #MatrixAnimation-->

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DigitalGaugeControl class.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also