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

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
[TypeConverter(typeof(BooleanTypeConverter))]
[XtraSerializableProperty]
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