Skip to main content

AppointmentConflictEventArgs.Interval Property

Gets the time interval for which the event was raised.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v14.2.Core.dll

#Declaration

public TimeInterval Interval { get; }

#Property Value

Type Description
TimeInterval

A DevExpress.XtraScheduler.TimeInterval object which is the time interval for which the event was raised.

#Examples

This example demonstrates how to prevent end-users from creating appointments within a certain time interval (from 2 PM to 3 PM). To implement end-user restrictions, handle the SchedulerControl.AllowAppointmentCreate event to prevent end-users from creating appointments within a certain time interval and the SchedulerControl.AllowAppointmentConflicts event to prevent an existing appointment from being dragged to the same time interval:

See Also