windowsforms-devexpress-dot-xtrascheduler-dot-schedulerviewbase-5f8936fc.md
Returns a copy of the visible time interval collection for the current view.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
public TimeIntervalCollection GetVisibleIntervals()
Public Function GetVisibleIntervals As TimeIntervalCollection
| Type | Description |
|---|---|
| TimeIntervalCollection |
A TimeIntervalCollection object containing the information on visible intervals for the current view.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetVisibleIntervals() method.
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-print-appointments-using-reports/CS/PrintingViaReports/Form1.cs#L103
schedulerControl1.Start = DateTime.Now;
AppointmentBaseCollection abc = schedulerStorage1.GetAppointments(schedulerControl1.ActiveView.GetVisibleIntervals());
if (abc.Count > 0)
winforms-scheduler-print-appointments-using-reports/VB/PrintingViaReports/Form1.vb#L94
schedulerControl1.Start = Date.Now
Dim abc As AppointmentBaseCollection = schedulerStorage1.GetAppointments(schedulerControl1.ActiveView.GetVisibleIntervals())
If abc.Count > 0 Then
See Also