DigitalGaugeControl.TextDirection Property
Specifies which part of a text limited by the DigitalGaugeControl.SymbolCount property should be shown on the symbols panel (either the initial or final).
Namespace: DevExpress.Xpf.Gauges
Assembly: DevExpress.Xpf.Gauges.v24.1.dll
NuGet Package: DevExpress.Wpf.Gauges
Declaration
Property Value
Type | Description |
---|---|
TextDirection | A TextDirection enumeration value. |
Available values:
Name | Description |
---|---|
LeftToRight | The initial part of a text limited by the DigitalGaugeControl.SymbolCount property value is shown on the symbols panel. For instance, the image below shows the initial part of the “Hello!” text. The DigitalGaugeControl.SymbolCount property is set to 3. |
RightToLeft | The final part of a text limited by the DigitalGaugeControl.SymbolCount property value is shown on the symbols panel. For instance, the image below shows the final part of the “Hello!” text. The DigitalGaugeControl.SymbolCount property is set to 3. |
Remarks
To see this property in action, you need to specify a text via the DigitalGaugeControl.Text property and the number of its displayed characters via the DigitalGaugeControl.SymbolCount property.
Note that the number of displayed characters should be less than the text length.
The images below illustrate the initial and final parts of the “Hello!” text. The DigitalGaugeControl.SymbolCount property is set to 3.
LeftToRight | RightToLeft |
---|---|