Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public bool SameDay { get; }

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 SchedulerItemBase.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