Skip to main content

Legend.UseCheckBoxes Property

Specifies a value which determines whether to use checkboxes instead of markers on a chart legend for all legend items.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[Browsable(false)]
[OldApi("This is old API. It is recommended to use the MarkerMode property instead.")]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public bool UseCheckBoxes { get; set; }

Property Value

Type Description
Boolean

true, if legend checkboxes are shown instead of markers for all legend items; otherwise, false.

Remarks

This property is out of date. We recommend to use the Legend.MarkerMode property instead.

To learn more on legend checkboxes, see the corresponding section of the Legends topic.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UseCheckBoxes property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also