Back to Devexpress

SchedulerViewBase.GetVisibleIntervals() Method

windowsforms-devexpress-dot-xtrascheduler-dot-schedulerviewbase-5f8936fc.md

latest2.9 KB
Original Source

SchedulerViewBase.GetVisibleIntervals() Method

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

Declaration

csharp
public TimeIntervalCollection GetVisibleIntervals()
vb
Public Function GetVisibleIntervals As TimeIntervalCollection

Returns

TypeDescription
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

csharp
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

vb
schedulerControl1.Start = Date.Now
Dim abc As AppointmentBaseCollection = schedulerStorage1.GetAppointments(schedulerControl1.ActiveView.GetVisibleIntervals())
If abc.Count > 0 Then

See Also

SetVisibleIntervals(TimeIntervalCollection)

SchedulerViewBase Class

SchedulerViewBase Members

DevExpress.XtraScheduler Namespace