Back to Devexpress

FormatTimeIntervalInfo Class

windowsforms-devexpress-dot-xtrascheduler-dot-reporting-9e7a57b9.md

latest3.9 KB
Original Source

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

NuGet Package : DevExpress.Win.SchedulerReporting

Declaration

csharp
[XRDesigner("DevExpress.XtraScheduler.Reporting.Design.FormatTimeIntervalInfoDesigner,DevExpress.XtraScheduler.v25.2.Reporting.Extensions")]
public class FormatTimeIntervalInfo :
    TimeIntervalInfoBase
vb
<XRDesigner("DevExpress.XtraScheduler.Reporting.Design.FormatTimeIntervalInfoDesigner,DevExpress.XtraScheduler.v25.2.Reporting.Extensions")>
Public Class FormatTimeIntervalInfo
    Inherits 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 appears.

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

Inheritance

Object MarshalByRefObject Component XRControl DevExpress.XtraScheduler.Reporting.ReportViewControlBase DevExpress.XtraScheduler.Reporting.ReportRelatedControlBase DataDependentControlBase TextInfoControlBase TimeIntervalInfoBase FormatTimeIntervalInfo

See Also

FormatTimeIntervalInfo Members

TimeIntervalInfo

DevExpress.XtraScheduler.Reporting Namespace