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

Orientation Enum

Specifies vertical or horizontal orientation.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public enum Orientation

#Members

Name Description
Horizontal

Sets horizontal orientation.

Vertical

Sets vertical orientation.

#Related API Members

#Remarks

The following example uses the Orientation values to configure the Orientation property:

Razor
<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>

Chart Legend

See Also