Skip to main content

FormatTimeIntervalInfo Class

An information control used to print a textual view of the time interval, using the specified format.

Namespace: DevExpress.XtraScheduler.Reporting

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

NuGet Package: DevExpress.Win.SchedulerReporting

Declaration

[XRDesigner("DevExpress.XtraScheduler.Reporting.Design.FormatTimeIntervalInfoDesigner,DevExpress.XtraScheduler.v24.1.Reporting.Extensions")]
public class FormatTimeIntervalInfo :
    TimeIntervalInfoBase

Remarks

Unlike the TimeIntervalInfo control, the FormatTimeIntervalInfo control allows specifying an arbitrary format string to display the time interval.

In a column mode, the control can be printed in each column, or in odd or even columns only, as determined by the DataDependentControlBase.PrintInColumn property.

A format for the textual representation of the time interval can be chosen automatically, if the FormatTimeIntervalInfo.AutoFormat property is set to true. You can specify a custom format string via the FormatTimeIntervalInfo.FormatString property.

The TimeIntervalInfoBase.PrintContentMode property specifies whether the control should print the time interval for the entire group in multicolumn mode, or for the current column only.

The FormatTimeIntervalInfo should be linked to any of the time cells controls via the FormatTimeIntervalInfo.TimeCells property, for proper operation. When the control is linked, a link sign ReportControls - Relation icon appears.

The picture below represents the general look of the FormatTimeIntervalInfo control in design view with its smart tag.

ReportControls - FormatTimeIntervalInfo

Inheritance

Object
MarshalByRefObject
Component
XRControl
DevExpress.XtraScheduler.Reporting.ReportViewControlBase
DevExpress.XtraScheduler.Reporting.ReportRelatedControlBase
See Also