Skip to main content

SchedulerControl.Refresh() Method

Updates the Scheduler and forces the control to reflect any changes made to the View’s layout.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

Declaration

public override void Refresh()

Remarks

The Refresh method is used when the control’s layout has been changed and needs to be repainted. The method recalculates all the graphical information of the current View and redraws it.

The SchedulerViewBase.LayoutChanged method performs the same task, and need not be substituted for the Refresh method in your code, although the Refresh method is recommended.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Refresh() 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.

See Also