wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentitemconflicteventargs-4f6f35b4.md
Retrieves the time interval for which the event was raised.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
public TimeInterval Interval { get; }
Public ReadOnly Property Interval As TimeInterval
| Type | Description |
|---|---|
| TimeInterval |
A TimeInterval object that is the target time interval.
|
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.
wpf-scheduler-apply-end-user-restrictions/CS/WpfApplication1/MainWindow.xaml.cs#L34
TimeInterval interval = e.Interval;
wpf-scheduler-apply-end-user-restrictions/VB/WpfApplication1/MainWindow.xaml.vb#L39
Dim interval As TimeInterval = e.Interval
If Not IsIntervalAllowed(interval) Then e.Conflicts.Add(e.AppointmentClone)
See Also
AppointmentItemConflictEventArgs Class