Skip to main content
A newer version of this page is available. .

CustomLegendItem.MarkerVisible Property

Gets or sets the value indicating whether or not the custom legend item marker is visible.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
public bool MarkerVisible { get; set; }

Property Value

Type Description
Boolean

true, to display the marker; otherwise, false.

Remarks

To control the visibility of a custom legend item text, use the CustomLegendItem.TextVisible property.

If a legend contains only custom items, set the Legend.MarkerMode to None to avoid allotting space for a marker.

See Also