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

SevenSegmentsView Class

A seven segments symbols panel type of digital gauge control.

Namespace: DevExpress.Xpf.Gauges

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

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>

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

Note

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