windowsforms-devexpress-dot-xtrascheduler-dot-datenavigator-6a0342dc.md
Updates a Date Navigator control to display selected dates.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
public override void Refresh()
Public Overrides Sub Refresh
You can select dates within the DateNavigator programmatically with the help of CalendarControlBase.SelectedRanges collection methods. When any changes to this collection are made, use the Refresh method to visualize them.
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.
winforms-scheduler-optimize-performance-large-dataset/CS/FetchAppointmentExample/Form1.cs#L126
dateNavigator1.BoldAppointmentDates = false;
dateNavigator1.Refresh();
}
winforms-scheduler-optimize-performance-large-dataset/VB/FetchAppointmentExample/Form1.vb#L125
dateNavigator1.Refresh()
End Sub
See Also