Skip to main content
All docs
V23.2

LegendBase.VerticalPosition Property

Gets or sets the legend’s vertical position within the chart control.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public VerticalPosition VerticalPosition { get; set; }

Property Value

Type Description
VerticalPosition

A VerticalPosition enumeration member which specifies the legend’s vertical position within the chart control.

Available values:

Name Description
TopOutside

The legend is positioned at the top of the diagram.

VerticalPosition_TopOutside

Top

The legend is positioned level with the top of the Diagram.

VerticalPosition_Top

Center

Centers a legend vertically within the Diagram.

VerticalPosition_Center

Bottom

The legend is positioned level with the bottom of the Diagram.

VerticalPosition_Bottom

BottomOutside

The legend is positioned at the bottom of the diagram.

VerticalPosition_BottomOutside

Remarks

To specify the legend’s horizontal position, use the LegendBase.HorizontalPosition property.

See Also