The requested page is not available for the requested platform. You are viewing the content for Default platform.

AppointmentItem.AllDay Property

Gets or sets whether the current appointment lasts the entire day (or several days).

Namespace: DevExpress.UI.Xaml.Scheduler

Assembly: DevExpress.UI.Xaml.Scheduler.v19.1.dll

Declaration

public bool AllDay { get; set; }
Public Property AllDay As Boolean

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 lasts the entire day (or several days). Note that if the property is set to true, the values of the Start and End properties are ignored and instead, the Start of the appointment is considered to be 00:00 of the Start day, and the End of the appointment is considered to be 00:00 of the End day.

Regarding the time zone, all-day appointments are treated as "floating", so that they do not belong to a particular time zone. When the current time zone of the scheduler (obtained from the host settings or specified by the SchedulerControl.TimeZone property) changes, the Start and End properties of the all-day appointment remain the same.

See Also