All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SchedulerItemBase.AllDay Property

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

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v21.1.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 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 TimeZone property) changes, the Start and End properties of the all-day appointment remain the same.

See Also