Skip to main content
All docs
V24.2

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

ITimeScale.GetDisplayTexts(DateTimeRange) Method

Returns the display text for the specified time range.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

IEnumerable<string> GetDisplayTexts(
    DateTimeRange timeRange
)

#Parameters

Name Type Description
timeRange DateTimeRange

A DevExpress.Mvvm.DateTimeRange value that is the time range for which to return the display text.

#Returns

Type Description
IEnumerable<String>

A collection of System.String values that represent the text labels displayed in the time scale.

See Also