Skip to main content

MapLegendBase.Alignment Property

Gets or sets the alignment of a map legend.

Namespace: DevExpress.Xpf.Map

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

NuGet Package: DevExpress.Wpf.Map

Declaration

public LegendAlignment Alignment { get; set; }

Property Value

Type Description
LegendAlignment

A LegendAlignment enumeration item.

Available values:

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.

See Also