Back to Devexpress

AxisTitle.DXAlignment Property

corelibraries-devexpress-dot-xtracharts-dot-axistitle.md

latest2.0 KB
Original Source

AxisTitle.DXAlignment Property

Gets or sets the alignment of the axis title. 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 DXAlignment { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property DXAlignment As DXStringAlignment

Property Value

TypeDescription
DXStringAlignment

An enumeration value which specifies the alignment of the axis title.

|

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

The following images demonstrate the Alignment property in action.

NearCenterFar

For more information, refer to Axis Titles.

See Also

AxisTitle Class

AxisTitle Members

DevExpress.XtraCharts Namespace