Skip to main content

MapLegend.Orientation Property

Gets or sets the legend orientation within a map.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.2.Core.dll

NuGet Package: DevExpress.Dashboard.Core

#Declaration

[DefaultValue(MapLegendOrientation.Vertical)]
public MapLegendOrientation Orientation { get; set; }

#Property Value

Type Default Description
MapLegendOrientation Vertical

A MapLegendOrientation enumeration value that specifies the legend orientation within a map.

Available values:

Name Description
Vertical

A legend represented as a list of colors.

Horizontal

A legend represented as a color scale.

#Remarks

Use the MapLegendBase.Position property to specify the legend position within a map.

See Also