DxChartConstantLineLabel.VerticalAlignment Property

Specifies the vertical alignment for the constant line’s label.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll

Declaration

[Parameter]
public VerticalAlignment VerticalAlignment { get; set; }

Property Value

Type Description
VerticalAlignment

The vertical alignment.

Available values:

Name Description
Top

Aligns the items or text at the top.

Center

Aligns the items or text at the center.

Bottom

Aligns the items or text at the bottom.

Remarks

The VerticalAlignment property is in effect for labels of constant lines that belong to an argument axis.

Use the code below to specify the alignment for the argument axis’s constant line label:

<DxChartArgumentAxis>
    <DxChartConstantLine Value="@("2019-Dec-31")">
        <DxChartConstantLineLabel VerticalAlignment="VerticalAlignment.Top"/>
    </DxChartConstantLine>
</DxChartArgumentAxis>
See Also