Legend.ItemVisibilityMode Property

Gets or sets the mode used to display custom and automatically generated items.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Elements)]
public LegendItemVisibilityMode ItemVisibilityMode { get; set; }

Property Value

Type Description
LegendItemVisibilityMode

A LegendItemVisibilityMode enumeration value.

Available values:

Name Description
Default

If a legend has custom items, then automatically generated items are not displayed.

AutoGeneratedAndCustom

The legend displays custom and automatically generated items together.

See Also