Skip to main content
A newer version of this page is available. .

TimeIntervalInfo.FormatType Property

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

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v21.1.Reporting.dll

NuGet Packages: DevExpress.Win.Design, 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