SchedulerControl.RefreshData(RefreshDataKind) Method
Updates a specific SchedulerControl data to reflect any changes made in it.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
Parameters
Name | Type | Description |
---|---|---|
kind | RefreshDataKind | One of the enumeration values specifying data type to refresh. |
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.
If you use the DataSource.FetchAppointments or DataSource.FetchTimeRegions event to load data on demand, the RefreshData method clears the cached appointments and time regions and fires the corresponding event.