SchedulerControl.RefreshData(RefreshDataKind) Method

Updates a specific SchedulerControl data to reflect any changes made in it.

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

public void RefreshData(
    RefreshDataKind kind
)
Public Sub RefreshData(
    kind As RefreshDataKind
)

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.

See Also