Back to Devexpress

AxisLabel.DXTextAlignment Property

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

latest2.1 KB
Original Source

AxisLabel.DXTextAlignment Property

Specifies the alignment of the axis labels text. Use this property in non-Windows environments.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public DXStringAlignment DXTextAlignment { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property DXTextAlignment As DXStringAlignment

Property Value

TypeDescription
DXStringAlignment

An enumeration value that specifies the alignment of the label text.

|

Available values:

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

|

Remarks

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

NearCenterFar

See Also

AxisLabel Class

AxisLabel Members

DevExpress.XtraCharts Namespace