Skip to main content

AxisLabel.TextAlignment Property

Specifies the alignment of the axis labels text.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[TypeConverter(typeof(StringAlignmentTypeConvertor))]
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
[XtraSerializableProperty]
public StringAlignment TextAlignment { get; set; }

Property Value

Type Description
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.

Near Center Far
AxisLabel.TextAlignment_Near AxisLabel.TextAlignment_Center AxisLabel.TextAlignment_Far
See Also