Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LegendAlignment Enum

Contains values that specify how a map legend is aligned.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.2.dll

NuGet Package: DevExpress.Wpf.Map

#Declaration

public enum LegendAlignment

#Members

Name Description
TopLeft

The legend is vertically aligned at the top and horizontally aligned to 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 to the right.

MiddleLeft

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

MiddleRight

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

BottomLeft

The legend is vertically aligned at the bottom and horizontally aligned to 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 to 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.

See Also