Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VerticalAlignment Enum

Lists the vertical alignment options.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public enum VerticalAlignment

#Members

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 following example uses the VerticalAlignment values to configure the VerticalAlignment property:

Razor
<DxChartValueAxis>
    <DxChartConstantLine Value="50" >
        <DxChartConstantLineLabel Text="Average"
                                  VerticalAlignment="VerticalAlignment.Center"
                                  Position="RelativePosition.Inside" />
    </DxChartConstantLine>
    <DxChartConstantLine Value="100"/>
    ...
</DxChartValueAxis>

Charts - A constant line label

See Also