Back to Devexpress

DigitalGaugeControl.TextDirection Property

wpf-devexpress-dot-xpf-dot-gauges-dot-digitalgaugecontrol-6b102ab4.md

latest3.2 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public TextDirection TextDirection { get; set; }
vb
Public Property TextDirection As TextDirection

Property Value

TypeDescription
TextDirection

A TextDirection enumeration value.

|

Available values:

NameDescription
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.

LeftToRightRightToLeft

See Also

DigitalGaugeControl Class

DigitalGaugeControl Members

DevExpress.Xpf.Gauges Namespace