Last active
June 28, 2020 23:45
-
-
Save MartinZikmund/1897291246c0ed49bca223ac07bf107f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void UpdateCalendar() | |
{ | |
var displayedDays = Calendar.FindDescendants<CalendarViewDayItem>(); | |
foreach (var displayedDay in displayedDays) | |
{ | |
if (_highlightedDates.Contains(displayedDay.Date.Date)) | |
{ | |
HighlightDay(displayedDay); | |
} | |
else | |
{ | |
UnHighlightDay(displayedDay); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment