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

LegendAlignment Enum

Contains values that specify how a map legend is aligned.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v18.1.dll

Declaration

public enum LegendAlignment

Members

Name Description
TopLeft

The legend is vertically aligned at the top and horizontally aligned on the left.

TopCenter

The legend is vertically aligned at the top and horizontally aligned in the center.

TopRight

The legend is vertically aligned at the top and horizontally aligned on the right.

MiddleLeft

The legend is vertically centered and horizontally aligned on the left.

MiddleRight

The legend is vertically centered and horizontally aligned on the right.

BottomLeft

The legend is vertically aligned at the bottom and horizontally aligned on the left.

BottomCenter

The legend is vertically aligned at the bottom and horizontally aligned in the center.

BottomRight

The legend is vertically aligned at the bottom and horizontally aligned on the right.

Related API Members

The following properties accept/return LegendAlignment values:

Remarks

Values listed by the LegendAlignment enumeration are used to set the MapLegendBase.Alignment property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the LegendAlignment enum.

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