A newer version of this page is available. Switch to the current version.

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


public bool MarkerVisible { get; set; }
Public Property MarkerVisible As Boolean

Property Value

Type Description

true, to display the marker; otherwise, false.


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