windowsforms-devexpress-dot-xtrascheduler-dot-schedulercontrol-a7b86b93.md
Fires when the time interval displayed by the control’s scheduling area is changed.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
public event EventHandler VisibleIntervalChanged
Public Event VisibleIntervalChanged As EventHandler
The VisibleIntervalChanged event's data class is EventArgs.
The VisibleIntervalChanged event is generated each time the time interval represented by the scheduling area has been changed.
The displayed time interval can for instance be changed by assigning a new value to the scheduler’s SchedulerControl.Start property, by selecting/deselecting a date within the associated DateNavigator control, by changing the scheduler’s active view (SchedulerControl.ActiveViewType), etc.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the VisibleIntervalChanged event.
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-optimize-performance-large-dataset/CS/FetchAppointmentExample/Form1.cs#L30
schedulerControl1.VisibleIntervalChanged += schedulerControl1_VisibleIntervalChanged;
schedulerControl1.VisibleResourcesChanged += SchedulerControl1_VisibleResourcesChanged;
winforms-scheduler-optimize-performance-large-dataset/VB/FetchAppointmentExample/Form1.vb#L30
AddHandler schedulerDataStorage1.AppointmentsDeleted, AddressOf OnApptChangedInsertedDeleted
AddHandler schedulerControl1.VisibleIntervalChanged, AddressOf schedulerControl1_VisibleIntervalChanged
AddHandler schedulerControl1.VisibleResourcesChanged, AddressOf SchedulerControl1_VisibleResourcesChanged
See Also