Back to Devexpress

DigitalGauge.DisplayMode Property

windowsforms-devexpress-dot-xtragauges-dot-win-dot-gauges-dot-digital-dot-digitalgauge-e4603a52.md

latest2.4 KB
Original Source

DigitalGauge.DisplayMode Property

Gets or sets the text display mode.

Namespace : DevExpress.XtraGauges.Win.Gauges.Digital

Assembly : DevExpress.XtraGauges.v25.2.Win.dll

NuGet Package : DevExpress.Win.Gauges

Declaration

csharp
[DefaultValue(DigitalGaugeDisplayMode.FourteenSegment)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public DigitalGaugeDisplayMode DisplayMode { get; set; }
vb
<DefaultValue(DigitalGaugeDisplayMode.FourteenSegment)>
<XtraSerializableProperty>
<DXCategory("Appearance")>
Public Property DisplayMode As DigitalGaugeDisplayMode

Property Value

TypeDefaultDescription
DigitalGaugeDisplayModeFourteenSegment

A DigitalGaugeDisplayMode value that specifies the text display mode.

|

Available values:

NameDescription
SevenSegment

Symbols are represented using the 7-segment style.

| | FourteenSegment |

Symbols are represented using the 14-segment style.

| | Matrix5x8 |

Symbols are represented using the 5x8 matrix.

| | Matrix8x14 |

Symbols are represented using the 8x14 matrix.

|

Remarks

Use this property to specify how the gauge’s DigitalGauge.Text is painted - using the 7-, 14-segment or matrix display mode. In 7-segment display mode, only numbers can be painted. In 14-segment display mode, both Latin characters and numbers can be painted. In matrix modes, all characters enumerated by the Lucida Console font are supported (including non-Latin characters).

See Also

Text

DigitalGauge Class

DigitalGauge Members

DevExpress.XtraGauges.Win.Gauges.Digital Namespace