Skip to main content

DigitalGaugeControl.SymbolCount Property

Specifies the total number of symbols (both containing a text and empty or only empty) that should be displayed on the symbols panel.

Namespace: DevExpress.Xpf.Gauges

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

NuGet Package: DevExpress.Wpf.Gauges

Declaration

public int SymbolCount { get; set; }

Property Value

Type Description
Int32

An integer value that is the symbols number.

Remarks

The table below illustrates the property behavior.

SymbolCount=10, Text=”Hello!” SymbolCount=10, Text=””
DigitalGauge_SymbolCountWithText DigitalGauge_SymbolCountWithoutText

Note that the number of characters specified in the SymbolCount property can not coincide with the value of the DigitalGaugeControl.Text property.

For example, you can not see a whole text on the panel if text characters exceed the number of symbols specified in the SymbolCount property.

In this case, you can set the SymbolCount property to the value that corresponds to the number of text characters or use the DigitalGaugeControl.TextDirection property to see the initial or final part of a text, as shown below.

SymbolCount=3, Text=”Hello!”, TextDirection=LeftToRight SymbolCount=3, Text=”Hello!”, TextDirection=RightToLeft
DigitalGauge_TextDirextion_LeftToRight DigitalGauge_TextDirection_RightToLeft
See Also