Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Gauges

Declaration

public enum TextHorizontalAlignment

Members

Name Description
Left

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

DigitalGauge_TextHorizontalAlignment_Left

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.

DigitalGauge_TextHorizontalAlignment_Center

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.

DigitalGauge_TextHorizontalAlignment_Right

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

Related API Members

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