windowsforms-devexpress-dot-xtramap-320068c0.md
Contains values that specify how a map legend is aligned.
Namespace : DevExpress.XtraMap
Assembly : DevExpress.XtraMap.v25.2.dll
NuGet Package : DevExpress.Win.Map
public enum LegendAlignment
Public Enum LegendAlignment
| 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.
|
The following properties accept/return LegendAlignment values:
Values listed by the LegendAlignment enumeration are used to set the MapLegendBase.Alignment property.
See Also