Appointment.SameDay Property
Gets whether the appointment’s start and end times are on the same day.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v21.1.Core.dll
NuGet Package: DevExpress.Scheduler.Core
Declaration
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.
Related GitHub Examples
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.