Back to Devexpress

AppointmentItemConflictEventArgs.Interval Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-appointmentitemconflicteventargs-4f6f35b4.md

latest2.5 KB
Original Source

AppointmentItemConflictEventArgs.Interval Property

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

Declaration

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

Property Value

TypeDescription
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

csharp
TimeInterval interval = e.Interval;

wpf-scheduler-apply-end-user-restrictions/VB/WpfApplication1/MainWindow.xaml.vb#L39

vb
Dim interval As TimeInterval = e.Interval
If Not IsIntervalAllowed(interval) Then e.Conflicts.Add(e.AppointmentClone)

See Also

AppointmentItemConflictEventArgs Class

AppointmentItemConflictEventArgs Members

DevExpress.Xpf.Scheduling Namespace