Back to Devexpress

AppointmentItem.SameDay Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentitem-058070f8.md

latest1.6 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

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

Property Value

TypeDescription
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

AppointmentItem Class

AppointmentItem Members

DevExpress.Xpf.Scheduling Namespace