Back to Devexpress

ConstantLine.CheckedInLegend Property

wpf-devexpress-dot-xpf-dot-charts-dot-constantline-3bbc2762.md

latest1.7 KB
Original Source

ConstantLine.CheckedInLegend Property

Gets or sets a value that determines whether a legend check box is checked for a constant line.

Namespace : DevExpress.Xpf.Charts

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public bool CheckedInLegend { get; set; }
vb
Public Property CheckedInLegend As Boolean

Property Value

TypeDescription
Boolean

true, if a legend check box is checked for the constant line; otherwise, false.

|

Remarks

Use the CheckedInLegend property to control the visibility of a constant line. If the legend check box is checked, the constant line is shown on a diagram, otherwise, the constant line is invisible.

Note

To control the visibility of a constant line on the diagram, ensure the check box appears on a legend (Legend.MarkerMode is set to ChechBox , CheckBoxAndMarker or MarkerAndCheckBox and ConstantLine.CheckableInLegend property is set to true ).

Implements

CheckedInLegend

See Also

ConstantLine Class

ConstantLine Members

DevExpress.Xpf.Charts Namespace