HorizontalAlignment Enum
Lists the horizontal alignment options.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v21.2.dll
NuGet Package: DevExpress.Blazor
Declaration
public enum HorizontalAlignment
Members
Name | Description |
---|---|
Center
|
Aligns the items or text to the center. |
Left
|
Aligns the items or text to the left. |
Right
|
Aligns the items or text to the right. |
Related API Members
The following properties accept/return HorizontalAlignment values:
Remarks
The following example uses the HorizontalAlignment values to configure the HorizontalAlignment property:
<DxChart Data="@SalesData">
<DxChartLegend AllowToggleSeries="true" Orientation="Orientation.Vertical"
HorizontalAlignment="HorizontalAlignment.Left" Position="RelativePosition.Outside">
<DxChartTitle Text="Years">
<DxChartSubTitle Text="(2017-2019)"></DxChartSubTitle>
</DxChartTitle>
</DxChartLegend>
...
</DxChart>
See Also