Skip to main content
All docs
V21.1

LegendModel.Alignment Property

Gets or sets the model alignment of the legend.

Namespace: DevExpress.XtraCharts.Designer

Assembly: DevExpress.XtraCharts.v21.1.Wizard.dll

NuGet Packages: DevExpress.Win.Charts, DevExpress.Win.Design

Declaration

[PropertyForOptions("Layout", 1)]
[ShowAsGallery(typeof(LegendAlignmentGalleryProvider))]
[Browsable(false)]
public LegendAlignment Alignment { get; set; }

Property Value

Type Description
LegendAlignment

The relative position of the legend.

Remarks

This property specifies two values of the legend element of a chart: Legend.AlignmentHorizontal and Legend.AlignmentVertical.

See Also