Skip to main content
All docs
V24.2

TextElement.DXTextAlignment Property

Gets or sets text alignment for the element. Use this property in non-Windows environments.

Namespace: DevExpress.XtraTreeMap

Assembly: DevExpress.XtraTreeMap.v24.2.dll

Declaration

[XtraSerializableProperty]
public DXStringAlignment DXTextAlignment { get; set; }

Property Value

Type Description
DXStringAlignment

A value that specifies text alignment.

Available values:

Name Description
Near

The text is aligned near the layout.

Center

Text is aligned in the center of the layout rectangle.

Far

The text is aligned far from the original position of the layout rectangle.

See Also