AppointmentItem.SameDay Property

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

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.1.dll

Declaration

public bool SameDay { get; }
Public ReadOnly Property SameDay As Boolean

Property Value

Type Description
Boolean

True, if the appointment interval is within a single day; false, if the appointment's start and end times are on different days.

Remarks

Use the SameDay property to determine whether an appointment that isn't an all day appointment (whose AppointmentItem.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