Appointment.SameDay Property

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

Namespace: DevExpress.XtraScheduler

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

Declaration

bool SameDay { get; }
ReadOnly Property SameDay As Boolean

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