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.v19.1.dll
Declaration
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=”” |
---|---|
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 |
---|---|
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SymbolCount property.
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.