Back to Devexpress

TimeIntervalEventArgs.Interval Property

corelibraries-devexpress-dot-xtrascheduler-dot-timeintervaleventargs.md

latest2.6 KB
Original Source

TimeIntervalEventArgs.Interval Property

Gets the time interval which the event was raised for.

Namespace : DevExpress.XtraScheduler

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

NuGet Package : DevExpress.Scheduler.Core

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-handle-fetchappointments-event-entity-framework/CS/Form1.cs#L43

csharp
schedulerControl1.Storage.Appointments.DataSource =collection;
    Text = String.Format("{0} appointments are loaded for {1} interval", collection.Count, e.Interval);
}

winforms-scheduler-handle-fetchappointments-event-entity-framework/VB/Form1.vb#L37

vb
schedulerControl1.Storage.Appointments.DataSource = collection
    Text = String.Format("{0} appointments are loaded for {1} interval", collection.Count, e.Interval)
End Sub

See Also

TimeIntervalEventArgs Class

TimeIntervalEventArgs Members

DevExpress.XtraScheduler Namespace