Back to Devexpress

LegendBase.HorizontalPosition Property

wpf-devexpress-dot-xpf-dot-charts-dot-legendbase.md

latest2.7 KB
Original Source

LegendBase.HorizontalPosition Property

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

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public HorizontalPosition HorizontalPosition { get; set; }
vb
Public Property HorizontalPosition As HorizontalPosition

Property Value

TypeDescription
HorizontalPosition

A HorizontalPosition enumeration member which specifies the legend’s horizontal position within the chart control.

|

Available values:

NameDescription
LeftOutside

The legend is positioned to the left of the diagram.

| | Left |

The legend is positioned on the left side of the Diagram.

| | Center |

Centers a legend horizontally within the Diagram.

| | Right |

The legend is positioned on the right side of the Diagram.

| | RightOutside |

The legend is positioned to the right of the diagram.

|

Remarks

To specify the legend’s vertical position, use the LegendBase.VerticalPosition property.

See Also

VerticalPosition

Legends

LegendBase Class

LegendBase Members

DevExpress.Xpf.Charts Namespace