Back to Devexpress

DigitalGauge.Text Property

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

latest2.7 KB
Original Source

DigitalGauge.Text Property

Gets or sets the text displayed by the gauge.

Namespace : DevExpress.XtraGauges.Win.Gauges.Digital

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

NuGet Package : DevExpress.Win.Gauges

Declaration

csharp
[Bindable(true)]
[DefaultValue("0")]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public string Text { get; set; }
vb
<Bindable(True)>
<DefaultValue("0")>
<XtraSerializableProperty>
<DXCategory("Appearance")>
Public Property Text As String

Property Value

TypeDefaultDescription
String"0"

A string that specifies the text displayed by the gauge.

|

Remarks

Different sets of characters are supported in different display modes (DigitalGauge.DisplayMode). See the following table:

|

Display Mode (DigitalGauge.DisplayMode)

|

Supported Characters

| | --- | --- | |

SevenSegment

|

0-9

‘ , . : (All these characters except the point character can only be displayed between letters and numerals. The point character can also be displayed at the end of the text.)

Space character. .

| |

FourteenSegment

|

Latin letters (‘A’-‘Z’)

0-9

‘ , . : (All these characters except the point character can only be displayed between letters and numerals. The point character can also be displayed at the end of the text.)

    • /

Space character.

| |

Matrix5x8 and Matrix8x14

|

All characters enumerated by the Lucida Console font.

|

The number of characters displayed by the digital gauge is specified by the DigitalGauge.DigitCount property.

See Also

DisplayMode

DigitCount

DigitalGauge Class

DigitalGauge Members

DevExpress.XtraGauges.Win.Gauges.Digital Namespace