Back to Devexpress

TextHorizontalAlignment Enum

wpf-devexpress-dot-xpf-dot-gauges-beb11c5e.md

latest2.8 KB
Original Source

TextHorizontalAlignment Enum

Lists the values used to specify the horizontal alignment of a text that is shown on the symbols panel.

Namespace : DevExpress.Xpf.Gauges

Assembly : DevExpress.Xpf.Gauges.v25.2.dll

NuGet Package : DevExpress.Wpf.Gauges

Declaration

csharp
public enum TextHorizontalAlignment
vb
Public Enum TextHorizontalAlignment

Members

NameDescription
Left

A text fragment (e.g. “Hello!!!”) is positioned to the left side of the symbols panel.

Before using horizontal alignment, you need to set the DigitalGaugeControl.SymbolCount property to the value that is less than the number of text symbols.

| | Center |

A text fragment (e.g. “Hello!!!”) is positioned at the center of the symbols panel.

Before using horizontal alignment, you need to set the DigitalGaugeControl.SymbolCount property to a value that is less than number of text symbols.

| | Right |

A text fragment (e.g. “Hello!!!”) is positioned to the right side of the symbols panel.

Before using horizontal alignment, you need to set the DigitalGaugeControl.SymbolCount property to a value that is less than the number of text symbols.

|

The following properties accept/return TextHorizontalAlignment values:

Remarks

The values listed by the TextHorizontalAlignment enumeration are used to set the DigitalGaugeControl.TextHorizontalAlignment property.

See Also

DevExpress.Xpf.Gauges Namespace