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 |
---|---|---|
Time |
Default | A Time |
Available values:
Name | Description |
---|---|
Default | Uses the most appropriate |
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 Time |
#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.