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

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.2.Reporting.dll

NuGet Package: DevExpress.Win.SchedulerReporting

#Declaration

[XRDesigner("DevExpress.XtraScheduler.Reporting.Design.FormatTimeIntervalInfoDesigner,DevExpress.XtraScheduler.v24.2.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