Back to Devexpress

MapLegendBase.Alignment Property

windowsforms-devexpress-dot-xtramap-dot-maplegendbase-843576d5.md

latest2.0 KB
Original Source

MapLegendBase.Alignment Property

Gets or sets the alignment of a map legend.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[DefaultValue(LegendAlignment.TopLeft)]
public LegendAlignment Alignment { get; set; }
vb
<DefaultValue(LegendAlignment.TopLeft)>
Public Property Alignment As LegendAlignment

Property Value

TypeDefaultDescription
LegendAlignmentTopLeft

A LegendAlignment enumeration value.

|

Available values:

NameDescription
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.

|

See Also

MapLegendBase Class

MapLegendBase Members

DevExpress.XtraMap Namespace