Back to Devexpress

VerticalAlignment Enum

blazor-devexpress-dot-blazor-3031fef6.md

latest2.2 KB
Original Source

VerticalAlignment Enum

Lists the vertical alignment options.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public enum VerticalAlignment

Members

NameDescription
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.

|

The following properties accept/return VerticalAlignment values:

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>

See Also

DevExpress.Blazor Namespace