Skip to main content

SevenSegmentsView Class

A seven segments symbols panel type of digital gauge control.

Namespace: DevExpress.Xpf.Gauges

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

NuGet Package: DevExpress.Wpf.Gauges

Declaration

public class SevenSegmentsView :
    SegmentsView

Remarks

A SevenSegmentsView type, which is shown in the image below, allows you to display a symbol on the symbols panel using 7 segments that can be turned either on or off.

SevenSegmentsViewType

For more information, refer to the Symbols Panel topic.

Example

The following sample shows how to create a SevenSegmentsView object of the Digital Gauge control.

<dxga:DigitalGaugeControl Name="digitalGaugeControl1" Text="123.4.5" VerticalAlignment="Center"  >           
      <dxga:DigitalGaugeControl.Layers>
            <dxga:DigitalGaugeLayer />
      </dxga:DigitalGaugeControl.Layers>
      <dxga:DigitalGaugeControl.SymbolView>
            <dxga:SevenSegmentsView />
      </dxga:DigitalGaugeControl.SymbolView>
</dxga:DigitalGaugeControl>
See Also