Back to Devexpress

Orientation Enum

blazor-devexpress-dot-blazor-e870773b.md

latest2.0 KB
Original Source

Orientation Enum

Specifies vertical or horizontal orientation.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public enum Orientation

Members

NameDescription
Horizontal

Sets horizontal orientation.

| | Vertical |

Sets vertical orientation.

|

The following properties accept/return Orientation values:

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>

See Also

DevExpress.Blazor Namespace