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

TimeIntervalInfo.FormatType Property

Specifies the format pattern used to print information in the TimeIntervalInfo control.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v24.2.Reporting.dll

NuGet Package: DevExpress.Win.SchedulerReporting

#Declaration

[DefaultValue(TimeIntervalFormatType.Default)]
[XtraSerializableProperty]
public TimeIntervalFormatType FormatType { get; set; }

#Property Value

Type Default Description
TimeIntervalFormatType Default

A TimeIntervalFormatType enumeration, representing a format type.

Available values:

Name Description
Default

Uses the most appropriate TimeIntervalInfo.FormatType for the associated view.

Daily

Prints two lines: the date (format string “dd MMMM yyyy”) and the day of the week (format string “dddd”).

Weekly

Prints two lines: the start date of the printed interval (format string “dd MMMM”) and the end date of the printed interval (format string “dd MMMM yyyy”).

Monthly

Prints two lines: the start date of the printed interval (format string “dd MMMM”) and the end date of the printed interval (format string “dd MMMM yyyy”).

Timeline

Prints the start and end time of the visible interval obtained via the TimeScale.FormatCaption method of the base time scale.

#Remarks

You can specify the format type which best fits the report layout, or use the TimeIntervalFormatType.Default setting, to set the format string according to the associated View type.

See Also