Skip to main content
A newer version of this page is available. .

SchedulerControl.RefreshData() Method

Updates all data in the SchedulerControl to reflect any changes made in data sources which store appointments and appointment resources.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v19.1.dll

Declaration

public void RefreshData()

Remarks

Appointments and appointment resources for the scheduler control can be stored in external data source. To connect the scheduler control to these data source, use the SchedulerControl.DataSource property.

Data from the data source is automatically reloaded after each change is made to the data sources (for instance, when records are added, deleted or modified) by default. You can manually call the RefreshData method to reload the data in the data source for the changes to appear in the scheduler control.

All appointments in the SchedulerControl are recreated after calling the RefreshData method. So, all appointments referenced in your code previously are disposed.

See Also