Skip to main content
A newer version of this page is available. .

MapLegend.Orientation Property

Gets or sets the legend orientation within a map.

Namespace: DevExpress.DashboardCommon

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

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Orientation property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also