Back to Devexpress

Appointment.SameDay Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointment-f958fae9.md

latest1.6 KB
Original Source

Appointment.SameDay Property

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

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.dll

NuGet Package : DevExpress.Scheduler.Core

Declaration

csharp
bool SameDay { get; }
vb
ReadOnly Property SameDay As Boolean

Property Value

TypeDescription
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

LongerThanADay

Appointment Interface

Appointment Members

DevExpress.XtraScheduler Namespace