Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.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