Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LegendBase.VerticalPosition Property

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

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.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