Skip to main content

Appointment.AllDay Property

Gets or sets a value indicating if the current appointment is an All-day appointment.

Namespace: DevExpress.XtraScheduler

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

#Declaration

public bool AllDay { get; set; }

#Property Value

Type Description
Boolean

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

#Remarks

Use the AllDay property to specify if the appointment should last an entire day (or several full days). Note that if the property is set to true, the real time values of the Appointment.Start and Appointment.End properties are ignored, and instead, the Start of the appointment is considered to be 0:00 of the Appointment.Start, and the End of the appointment is considered to be 24:00 of the Appointment.End.

NOTE

Do not use all-day appointments when working with different time zones.

See Also