Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ConstantLineCollection Class

A collection that stores the constant lines of a particular axis.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public class ConstantLineCollection :
    ChartElementCollection<ConstantLine>,
    IEnumerable<IConstantLine>,
    IEnumerable

The following members return ConstantLineCollection objects:

#Remarks

Each axis (in particular, an axis of the AxisX2D or AxisY2D type) can hold a collection of constant lines, returned by the Axis2D.ConstantLinesInFront and Axis2D.ConstantLinesBehind properties and specified by the ConstantLineCollection class. Each collection item is represented by a ConstantLine object.

For more information, refer to Constant Lines.

See Also