Back to Devexpress

LegendBaseModel.Direction Property

windowsforms-devexpress-dot-xtracharts-dot-designer-dot-legendbasemodel-fd0e7aa2.md

latest3.1 KB
Original Source

LegendBaseModel.Direction Property

Namespace : DevExpress.XtraCharts.Designer

Assembly : DevExpress.XtraCharts.v25.2.Wizard.dll

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
[PropertyForOptions("Layout")]
[LocalizableCategory(DesignerCategories.Behavior)]
public LegendDirection Direction { get; set; }
vb
<PropertyForOptions("Layout")>
<LocalizableCategory(DesignerCategories.Behavior)>
Public Property Direction As LegendDirection

Property Value

Type
LegendDirection

Available values:

NameDescription
TopToBottom

Specifies that legend entries are positioned vertically from the top to the bottom of the legend according to the indexes of the corresponding series within the ChartControl.Series collection. The lower the index that a series object has in the ChartControl.Series collection, the higher position its legend entry has within the legend.

| | BottomToTop |

Specifies that legend entries are positioned vertically from the bottom to the top of the legend according to the indexes of the corresponding series within the ChartControl.Series collection. The lower index that a series object has in the ChartControl.Series collection, the lower position its legend entry has within the legend.

| | LeftToRight |

Specifies that legend entries are positioned horizontally from the left to the right of the legend according to the indexes of the corresponding series within the ChartControl.Series collection. The lower index that a series object has in the ChartControl.Series collection, the closer to the left bound its legend entry is positioned within the legend.

| | RightToLeft |

Specifies that legend entries are positioned horizontally from the right to the left of the legend according to the indexes of the corresponding series within the ChartControl.Series collection. The lower index a series object has in the ChartControl.Series collection, the closer to the right bound its legend entry is positioned within the legend.

|

See Also

LegendBaseModel Class

LegendBaseModel Members

DevExpress.XtraCharts.Designer Namespace