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

Appointment.SameDay Property

Gets whether the appointment’s start and end times are on the same day.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.1.Core.dll

Declaration

bool SameDay { get; }

Property Value

Type Description
Boolean

true, if the appointment is scheduled in a single day; false, if the appointment’s start and end times are on different days.

Remarks

The SameDay property can be used to determine whether an appointment that isn’t an all day appointment (whose Appointment.AllDay property is set to false) starts and ends on the same day.

Note

For all-day appointments, this property returns false, for an appointment that occupies less than a day and ends at midnight, this property returns true.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SameDay property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also