Back to Devexpress

AppointmentConflictEventArgs.Interval Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentconflicteventargs-2ea6be8f.md

latest2.7 KB
Original Source

AppointmentConflictEventArgs.Interval Property

Gets the time interval which the event was raised for.

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
public TimeInterval Interval { get; }
vb
Public ReadOnly Property Interval As TimeInterval

Property Value

TypeDescription
TimeInterval

A TimeInterval object which represents the time interval that the event was raised for.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Interval property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-scheduler-resolve-appointment-conflicts/CS/DXApplication1/Form1.cs#L86

csharp
e.Conflicts.Clear();
    FillConflictedAppointmentsCollection(e.Conflicts, e.Interval, ((SchedulerControl)sender).DataStorage.Appointments.Items, e.AppointmentClone);
}

winforms-scheduler-resolve-appointment-conflicts/VB/DXApplication1/Form1.vb#L77

vb
e.Conflicts.Clear()
    FillConflictedAppointmentsCollection(e.Conflicts, e.Interval, CType(sender, SchedulerControl).DataStorage.Appointments.Items, e.AppointmentClone)
End Sub

See Also

AppointmentConflictEventArgs Class

AppointmentConflictEventArgs Members

DevExpress.XtraScheduler Namespace