Skip to main content
A newer version of this page is available. .

TimeInterval.AllDay Property

Gets or sets a value indicating if the time interval is All-Day.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.Core.dll

NuGet Packages: DevExpress.Scheduler.Core, DevExpress.WindowsDesktop.Scheduler.Core

Declaration

[DefaultValue(false)]
public virtual bool AllDay { get; set; }

Property Value

Type Default Description
Boolean **false**

true if this is an all-day time interval; otherwise, false.

Remarks

An all-day time interval lasts the entire day (the day specified by the Date property of the interval’s TimeInterval.Start). Note that in this case the real values of the Start and End of the time interval are ignored. Instead the TimeInterval.Start is considered to be 0:00 of the start date, the TimeInterval.Duration is considered to be 24 hours, and the TimeInterval.End is considered to be the [Start + Duration].

See Also