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

MapLegendBase.Position Property

Gets or set the map legend position.

Namespace: DevExpress.DashboardCommon

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

Declaration

[DefaultValue(MapLegendPosition.TopLeft)]
public MapLegendPosition Position { get; set; }

Property Value

Type Default Description
MapLegendPosition **TopLeft**

A MapLegendPosition enumeration value that specifies the map legend position.

Available values:

Name Description
TopLeft

Legend is aligned to the top left corner of the map.

TopCenter

Legend is centered and aligned to the top of the map.

TopRight

Legend is aligned to the top right corner of the map.

BottomLeft

Legend is aligned to the bottom left corner of the map.

BottomCenter

Legend is centered and aligned to the bottom of the map.

BottomRight

Legend is aligned to the bottom right corner of the map.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Position 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