Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SevenSegmentsView Class

A seven segments symbols panel type of digital gauge control.

Namespace: DevExpress.Xpf.Gauges

Assembly: DevExpress.Xpf.Gauges.v24.2.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