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

DateTimeConstantLineCollection Class

The collection of DateTimeConstantLine objects.

Namespace: DevExpress.Maui.Charts

Assembly: DevExpress.Maui.Charts.dll

NuGet Package: DevExpress.Maui.Charts

#Declaration

C#
public class DateTimeConstantLineCollection :
    ChartCollection<DateTimeConstantLine>

The following members return DateTimeConstantLineCollection objects:

#Remarks

A date-time constant line is a vertical straight line that passes through the chart and indicates an x-axis’s value.

Date-Time Constant Line Sample

Each axis can have any number of constant lines. A date-time axis (DateTimeAxisX) holds its constant lines in the DateTimeConstantLineCollection collection which the DateTimeAxisX.ConstantLines property returns.

See Also