Back to Devexpress

DateNavigator.Refresh() Method

windowsforms-devexpress-dot-xtrascheduler-dot-datenavigator-6a0342dc.md

latest2.5 KB
Original Source

DateNavigator.Refresh() Method

Updates a Date Navigator control to display selected dates.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public override void Refresh()
vb
Public Overrides Sub Refresh

Remarks

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

csharp
dateNavigator1.BoldAppointmentDates = false;
    dateNavigator1.Refresh();
}

winforms-scheduler-optimize-performance-large-dataset/VB/FetchAppointmentExample/Form1.vb#L125

vb
dateNavigator1.Refresh()
End Sub

See Also

DateNavigator Class

DateNavigator Members

DevExpress.XtraScheduler Namespace