Back to Devexpress

AxisLabel.TextAlignment Property

corelibraries-devexpress-dot-xtracharts-dot-axislabel-e68d4438.md

latest2.0 KB
Original Source

AxisLabel.TextAlignment Property

Specifies the alignment of the axis labels text.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[Browsable(false)]
public StringAlignment TextAlignment { get; set; }
vb
<Browsable(False)>
Public Property TextAlignment As StringAlignment

Property Value

TypeDescription
StringAlignment

A StringAlignment enumeration value specifying the alignment of the label text.

|

Remarks

Note that this property value is used to align the text within label. It doesn’t affect the labels themselves. The table below demonstrates how this property works.

NearCenterFar

Use the AxisLabel.DXTextAlignment property instead of TextAlignment to set the label text alignment in non-Windows environments.

See Also

AxisLabel Class

AxisLabel Members

DevExpress.XtraCharts Namespace