Back to Devexpress

TimeIntervalInfo.FormatType Property

windowsforms-devexpress-dot-xtrascheduler-dot-reporting-dot-timeintervalinfo-220c6711.md

latest2.7 KB
Original Source

TimeIntervalInfo.FormatType Property

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

Namespace : DevExpress.XtraScheduler.Reporting

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

NuGet Package : DevExpress.Win.SchedulerReporting

Declaration

csharp
[DefaultValue(TimeIntervalFormatType.Default)]
[XtraSerializableProperty]
public TimeIntervalFormatType FormatType { get; set; }
vb
<DefaultValue(TimeIntervalFormatType.Default)>
<XtraSerializableProperty>
Public Property FormatType As TimeIntervalFormatType

Property Value

TypeDefaultDescription
TimeIntervalFormatTypeDefault

A TimeIntervalFormatType enumeration, representing a format type.

|

Available values:

NameDescription
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

TimeIntervalInfo Class

TimeIntervalInfo Members

DevExpress.XtraScheduler.Reporting Namespace