Skip to main content

Appointment.SameDay Property

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

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core

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.

See Also