Skip to main content
A newer version of this page is available.
All docs
V19.1

Legend.VerticalPosition Property

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

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.1.dll

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 Legend.HorizontalPosition property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the VerticalPosition property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also