MapLegend.Orientation Property
In This Article
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 |
---|---|---|
Map |
Vertical | 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